我无法安装 pyautogui 我已经尝试了一切,例如
pip3 install pillow
Run Code Online (Sandbox Code Playgroud)
还按照pyautogui 网站上的步骤进行操作。这是我在安装时收到的消息。
root@alex-Ai:/# pip3 install pyautogui
Collecting pyautogui
Using cached PyAutoGUI-0.9.36.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Xlib/xauth.py", line 42, in __init__
raw = open(filename, 'rb').read()
FileNotFoundError: [Errno 2] No such file or directory: '/root/.Xauthority'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-mvyjt7lg/pyautogui/setup.py", line 6, in <module>
version=__import__('pyautogui').__version__,
File "/tmp/pip-build-mvyjt7lg/pyautogui/pyautogui/__init__.py", line 115, …Run Code Online (Sandbox Code Playgroud)