I am trying install this pyautogui, unsuccesfully.
I tried: pip install pyautogui
Result: it started to installing, pillow in local, collecting zip file, etc, and suddenly stop and write this error message:
"File /usr/lib/python2.7/dist-packages/HERE CHANGE A FEW TEXT LIKE pip, PyTweenig,etc.. and after these OS ERROR: [ERRNO13] permission denied 'usr/local/lib/Python2.7/dist-packages/PyTweening-1.0.2.dist_info'
If I am trying with : sudo pip install pyautogui
Result:
Xlib.Error.DisplayConnectionError:Can't connect to display:"1" No protocol specified. Command "python setup.py egg_info" failed with error code 1 in tmp/pip-build-2t6aey/pyautogui
What can i do?
我用这个解决了:
sudo chmod 777 'usr/local/lib/Python2.7/dist-packages'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.