安装MV C ++ 14.0后,仍然需要Microsoft Visual C ++ 14.0错误

时间:2020-01-06 00:22:01

标签: python visual-c++ pip

尝试使用Anaconda Prompt安装Acoular:

pip install acoular

我收到此错误

 copying traits\util\tests\test_weakidddict.py -> build\lib.win-amd64-3.7\traits\util\tests
    copying traits\util\tests\__init__.py -> build\lib.win-amd64-3.7\traits\util\tests
    running build_ext
    building 'traits.ctraits' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\calis\\AppData\\Local\\Temp\\pip-install-atcml1wx\\traits\\setup.py'"'"'; __file__='"'"'C:\\Users\\calis\\AppData\\Local\\Temp\\pip-install-atcml1wx\\traits\\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\calis\AppData\Local\Temp\pip-record-tbsh8v16\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
----- Failed to install 'acoular==19.11' -----

然后我安装了Visual Studio,并安装了Workload C ++生成工具,并将Windows 10 SDK选择为“可选”,但是运行pip install acoular会导致相同的错误。我一般并不精通Python或与软件相关的事情,所以我寻求您的帮助。

This is how it looks on my Visual Studio

0 个答案:

没有答案