pip3 install komutunu kullanırken bu hatayı alıyorum. İnternette epey bir aradım ama sorunumu çözmedim.
sudo pip3 install pyautoguiÇıktı:
The directory '/home/asdas/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/asdas/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pyautogui
Downloading PyAutoGUI-0.9.36.tar.gz (46kB)
100% |████████████████████████████████| 51kB 295kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-qfe6htfj/pyautogui/setup.py", line 6, in <module>
version=__import__('pyautogui').__version__,
File "/tmp/pip-build-qfe6htfj/pyautogui/pyautogui/__init__.py", line 115, in <module>
from . import _pyautogui_x11 as platformModule
File "/tmp/pip-build-qfe6htfj/pyautogui/pyautogui/_pyautogui_x11.py", line 7, in <module>
from Xlib.display import Display
ImportError: No module named 'Xlib'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qfe6htfj/pyautogui/