我输入了pip install pyautogui
它给出了错误消息:
Command ""c:\program files\python36\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\Crack\\AppData\\Local\\Temp\\pip-build-mopggaqx\\pymsgbox\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Crack\AppData\Local\Temp\pip-vmqzyehf-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Crack\AppData\Local\Temp\pip-build-mopggaqx\pymsgbox\
我尝试查找它,有人说我需要先说pip install Pillow
来安装Pillow。我试过这样做,但类似的东西出现了:
Command ""c:\program files\python36\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\Crack\\AppData\\Local\\Temp\\pip-build-mopggaqx\\pymsgbox\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Crack\AppData\Local\Temp\pip-vmqzyehf-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Crack\AppData\Local\Temp\pip-build-mopggaqx\pymsgbox\
答案 0 :(得分:0)
我只是想通了。我注意到在我的错误消息的末尾它说
Access Denied
我以管理员身份运行命令提示符(我不知道为什么它还没有运行它因为我以管理员身份登录但是很好)并且说
pip install pyautogui
并且有效。