我正在尝试安装 pywhatkit & 它给了我与显示相关的错误
KeyError Traceback (most recent call last)
<ipython-input-18-c3e3747f918e> in <cell line: 2>()
1 # importing module
----> 2 import pywhatkit as pwk
4 frames
/usr/lib/python3.10/os.py in __getitem__(self, key)
678 except KeyError:
679 # raise KeyError with the original key value
--> 680 raise KeyError(key) from None
681 return self.decodevalue(value)
682
KeyError: 'DISPLAY'
请帮忙
我正在使用 pywhatkit 在 Whatsapp 上发送消息,但由于显示错误,它无法正常工作。
Estou passando pela mesma diificuldade,com o mesmo Problema.