python - 无法安装 pip install pyautogui,错误代码 1

标签 python python-2.7 pip

pip install <package>命令对我有用,我尝试安装 selenium包它在我的设置中工作但是当我尝试安装 pyautogui , 这没用。截图如下。这里可能有什么问题:

有效: enter image description here

不起作用,错误:

←[31mCommand "python setup.py egg_info" failed with error code 1 in c:\users\homepc\appdata\local\temp\pip-build-q631su\pyscreeze←[0m

enter image description here

最佳答案

错误信息如其所读。您需要 PIL 库的 Pillow 端口作为依赖项:

pip install Pillow # a popular port of the Python Imaging Library, which is needed here

关于python - 无法安装 pip install pyautogui,错误代码 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34502965/

相关文章:

python - 用另一个字典中的键替换字典的值

python - 如何(正确)使用 PIP 安装和导入 pymavlink

python - 在 Path 上安装 Python 3.9 时安装 Tensorflow?

python - 如何让箭头朝鼠标方向射出?

python-2.7 - 亚马逊 SNS : how to get token for confirm subscription

python - 序列化为保留希伯来字符的 JSON

python - 在提交之前如何快速编辑 pip 可安装库

python - 如何关闭 pcolormesh() 中的插值?

Python Pandas 'Unnamed' 列不断出现

python - 如何格式化具有参数的python“请求”