Cannot install pip install pyautogui, error code 1

2019-02-17 07:39发布

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:

WORKS: enter image description here

DOES NOT WORK, Error:

←[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

2条回答
一纸荒年 Trace。
2楼-- · 2019-02-17 08:11

I resolved the problem by using the command pip3 install pyautogui from the console terminal window of the workstation. The cause of the error is that before doing that I was trying to use an SSH terminal window to install the software remotely. The SSH terminal window environment does not support a window system.

查看更多
我想做一个坏孩纸
3楼-- · 2019-02-17 08:25

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
查看更多
登录 后发表回答