0

你能帮帮我吗?当我应用这个命令时pip install twofish,我得到了这个错误

 ERROR: Command errored out with exit status 1:
 command: 'c:\users\alwae\appdata\local\programs\python\python38-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\alwae\\AppData\\Local\\Temp\\pip-install-2zuu0w3d\\twofish_c63dd156c62947b29781bb7b0795f322\\setup.py'"'"'; __file__='"'"'C:\\Users\\alwae\\AppData\\Local\\Temp\\pip-install-2zuu0w3d\\twofish_c63dd156c62947b29781bb7b0795f322\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\alwae\AppData\Local\Temp\pip-record-vceadu93\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\alwae\appdata\local\programs\python\python38-32\Include\twofish'
     cwd: C:\Users\alwae\AppData\Local\Temp\pip-install-2zuu0w3d\twofish_c63dd156c62947b29781bb7b0795f322\
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
copying twofish.py -> build\lib.win32-3.8
running build_ext
building '_twofish' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------

错误:命令出错,退出状态为 1:'c:\users\alwae\appdata\local\programs\python\python38-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\alwae\AppData\Local\Temp\pip-install-2zuu0w3d\twofish_c63dd156c62947b29781bb7b0795f322\setup.py'"'"'; file ='"'"'C:\Users\alwae\AppData\Local\Temp\pip-install-2zuu0w3d\twofish_c63dd156c62947b29781bb7b0795f322\setup.py'"'"';f = getattr(tokenize, '"'"'open' "'"', open)( file ) if os.path.exists( file ) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read( )。代替('”', '"'"'exec'"'"'))' install --record 'C:\Users\alwae\AppData\Local\Temp\pip-record-vceadu93\install-record.txt' --single-version -externally-managed --compile --install-headers 'c:\users\alwae\appdata\local\programs\python\python38-32\Include\twofish' 检查日志以获取完整的命令输出。

4

0 回答 0