Python 为什么pip安装getch时出错?
我正在做一个小文件检查,我需要做一个(字符按下?)命令。所以我用了格奇。我在尝试pip安装时遇到此错误:Python 为什么pip安装getch时出错?,python,pip,Python,Pip,我正在做一个小文件检查,我需要做一个(字符按下?)命令。所以我用了格奇。我在尝试pip安装时遇到此错误: Command "c:\python27\python.exe -c "import setuptools, tokenize;__file__='c:\\us ers\\manolo\\appdata\\local\\temp\\pip-build-ehxrw3\\getch\\setup.py';exec(compi le(getattr(tokenize, 'open', open)(
Command "c:\python27\python.exe -c "import setuptools, tokenize;__file__='c:\\us
ers\\manolo\\appdata\\local\\temp\\pip-build-ehxrw3\\getch\\setup.py';exec(compi
le(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __fil
e__, 'exec'))" install --record c:\users\manolo\appdata\local\temp\pip-flekfr-re
cord\install-record.txt --single-version-externally-managed --compile" failed wi
th error code 1 in c:\users\manolo\appdata\local\temp\pip-build-ehxrw3\getch
有人能告诉我怎么解决这个问题吗
另外,我在win32和windows 7上运行了python 2.7。您可以将getch更改为msvcrt,并且它已预装在windows上。您是否查看了
安装记录.txt
?否。等一下。