I'm trying to install prophet module with pip install prophet and I get this error:
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit status 2
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\roman\anaconda\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Roman\\AppData\\Local\\Temp\\pip-install-3atf7x8i\\prophet_b4d79ec5b1364530badc909dc352ecb0\\setup.py'"'"'; __file__='"'"'C:\\Users\\Roman\\AppData\\Local\\Temp\\pip-install-3atf7x8i\\prophet_b4d79ec5b1364530badc909dc352ecb0\\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\Roman\AppData\Local\Temp\pip-record-3wqyamtb\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\roman\anaconda\Include\prophet' Check the logs for full command output.
I'm really stuck and don't know what to do
thank you in advance!
Related
I want to install pydoop library on Google Colab but it is throwing this error:
"ERROR: Failed building wheel for pydoop" and
"ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-mdbgey3s/pydoop_394f3be9f4934b0c9c692367106bc46c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-mdbgey3s/pydoop_394f3be9f4934b0c9c692367106bc46c/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 /tmp/pip-record-_oc5jv8s/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pydoop Check the logs for full command output."
Is there anyway to install it on Colab since I have used !wget method but is unable to call hdfs library?
This question already has answers here:
Error "Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)"
(36 answers)
Error while installing lxml through pip: Microsoft Visual C++ 14.0 is required
(8 answers)
Pip error even Microsoft Visual C++ 14.0 is installed
(4 answers)
How to solve "error: Microsoft Visual C++ 14.0 or greater is required" when installing Python packages?
(9 answers)
Closed 12 months ago.
I ran the command
pip install web3
and got the following error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-m2poz8gm\\cytoolz_aca0ceb4e0dd49da9c9b73d162a22e9f\\setup.py'"'"'; __file__='"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-m2poz8gm\\cytoolz_aca0ceb4e0dd49da9c9b73d162a22e9f\\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\kashy\AppData\Local\Temp\pip-record-350ycn7k\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\kashy\AppData\Roaming\Python\Python310\Include\cytoolz'
cwd: C:\Users\kashy\AppData\Local\Temp\pip-install-m2poz8gm\cytoolz_aca0ceb4e0dd49da9c9b73d162a22e9f\
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-m2poz8gm\\cytoolz_aca0ceb4e0dd49da9c9b73d162a22e9f\\setup.py'"'"'; __file__='"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-m2poz8gm\\cytoolz_aca0ceb4e0dd49da9c9b73d162a22e9f\\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\kashy\AppData\Local\Temp\pip-record-350ycn7k\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\kashy\AppData\Roaming\Python\Python310\Include\cytoolz' Check the logs for full command output.
How to solve this error?
You probably need Microsoft Visual C++ 14.0 or greater version.
I am using python 3.9.7
PS C:\Program Files\Python39> pip install web3
...
This is the part where it's in red error message:
Running setup.py install for bitarray ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\QUI\\AppData\\Local\\Temp\\pip-install-8r0e8eer\\bitarray_3b8d63f53f724d4f910c7c1d5014a41b\\setup.py'"'"'; __file__='"'"'C:\\Users\\QUI\\AppData\\Local\\Temp\\pip-install-8r0e8eer\\bitarray_3b8d63f53f724d4f910c7c1d5014a41b\\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\QUI\AppData\Local\Temp\pip-record-107_ynkk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\QUI\AppData\Roaming\Python\Python39\Include\bitarray'
cwd: C:\Users\QUI\AppData\Local\Temp\pip-install-8r0e8eer\bitarray_3b8d63f53f724d4f910c7c1d5014a41b\
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\bitarray
copying bitarray\test_bitarray.py -> build\lib.win-amd64-3.9\bitarray copying bitarray\test_util.py -> build\lib.win-amd64-3.9\bitarray
copying bitarray\util.py -> build\lib.win-amd64-3.9\bitarray
copying bitarray\__init__.py -> build\lib.win-amd64-3.9\bitarray
running build_ext
building 'bitarray._bitarray' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\QUI\AppData\Local\Temp\pip-install-8r0e8eer\bitarray_3b8d63f53f724d4f910c7c1d5014a41b\setup.py'"'"'; file='"'"'C:\Users\QUI\AppData\Local\Temp\pip-install-8r0e8eer\bitarray_3b8d63f53f724d4f910c7c1d5014a41b\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\QUI\AppData\Local\Temp\pip-record-107_ynkk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\QUI\AppData\Roaming\Python\Python39\Include\bitarray' Check the logs for full command output.
I was going to install epanettools using pip.
pip install epanettools
But I ran into an error shown below:
ERROR: Command errored out with exit status 1: 'c:\users\ziyuan\appdata\local\programs\python\python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Ziyuan\\AppData\\Local\\Temp\\pip-install-4nq1zwm9\\epanettools_e084a922f7b240baa95c32e399a3fca7\\setup.py'"'"'; __file__='"'"'C:\\Users\\Ziyuan\\AppData\\Local\\Temp\\pip-install-4nq1zwm9\\epanettools_e084a922f7b240baa95c32e399a3fca7\\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\Ziyuan\AppData\Local\Temp\pip-record-w1loj73h\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ziyuan\appdata\local\programs\python\python38\Include\epanettools' Check the logs for full command output.
In my computer, I have installed the VS code.
Appreicate a lot if any advice to fix this error!
At the the beginning, I just tried to install epanettools with python 3.8.5. Then I installed it with lower version (3.7) of python, it works.
This is the error that I'm facing while installing pymrmr with the command -
pip install pymrmr
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Buil
dTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with
exit status 2
I am facing the following error during install pymrmr
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-wn37r25z\pymrmr_8299da47bb1249e8adefe32989c011b4\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-wn37r25z\pymrmr_8299da47bb1249e8adefe32989c011b4\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\User\AppData\Local\Temp\pip-record-r71o_m6f\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Anaconda3\Include\pymrmr' Check the logs for full command output.enter image description here
The pymrmr depends on numpy and Cython. You need to install the dependencies, then you should have no problem installing pymrmr:
pip install numpy Cython
pip install pymrmr
For more information, please go to https://pypi.org/project/pymrmr/