无法安装pip install pyautogui,错误代码1 [英] Cannot install pip install pyautogui, error code 1
问题描述
pip install <package>
命令对我有用,我尝试安装selenium
程序包,该程序在我的安装程序中有效,但是当我尝试安装pyautogui
时,它不起作用.下面的截图.这里可能出什么问题了:
pip install <package>
command is working for me, I tried installing selenium
package it is working in my setup but when I try to install pyautogui
, it does not work. Screenshots below. What could be wrong here:
作品:
不起作用,错误:
←[31mCommand"python setup.py egg_info"失败,错误代码为1,位于c:\ users \ homepc \ appdata \ local \ temp \ pip-build-q631su \ pyscreeze←[0m
←[31mCommand "python setup.py egg_info" failed with error code 1 in c:\users\homepc\appdata\local\temp\pip-build-q631su\pyscreeze←[0m
推荐答案
错误消息与所读取的一样.您需要PIL
库的Pillow
端口作为依赖项:
The error message is just as it reads. You need the Pillow
port of the PIL
library as a dependency:
pip install Pillow # a popular port of the Python Imaging Library, which is needed here
这篇关于无法安装pip install pyautogui,错误代码1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!