简体   繁体   中英

Python error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2

I have a problem installing an additional package to Python Anaconda using pip in the Anaconda Prompt:

pip install --upgrade pyregion

The error I get is:

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2

Other packages such as aplpy and pyparsing have installed properly after some initial problems with PATH for the cl.exe file.

I'm using Python Anaconda3 (64-bit) on Windows 10 x64.

The only suggestions i've found have been specific to other packages/modules. Any help is greatly appreciated!

I solved this by simply reinstalling Visual C++ and Anaconda since I just got stuck with new errors. Works fine now!

重新安装python3.8新版本并删除旧版本后,它对我来说非常适合尝试。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question Python error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 4 Python pip install error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2 install tesserocrerror command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2 Python pip install cvxopt error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2 C:\\Program Files\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2 C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2 ERROR: C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit Error with installing pandas on pypy3: …Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2 Error with installing REBOUND in Python/PIP: …Microsoft Visual Studio\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 Python 2.7.7 package installation giving Visual C++ cl.exe error: command failed with exit status 2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM