简体   繁体   English

python2.7导入pyautogui xlib错误

[英]Python2.7 import pyautogui xlib error

I have a problem, when I try import pyautogui I will get this error msg. 我有一个问题,当我尝试导入pyautogui我会收到此错误消息。

Xlib.xauth : warning, failed to parse part of xauthority file ( /home/John/.Xauthority ), aborting all further parsing Xlib.xauth :警告,无法解析部分xauthority文件( /home/John/.Xauthority ),中止所有进一步的解析

Thanks for answers. 感谢您的回答。

降级至python-xlib = 0.14 + 20091101-1ubuntu2可能会有所帮助: https ://bugs.launchpad.net/ubuntu/+source/python-xlib/+bug/1522107

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM