polo icon indicating copy to clipboard operation
polo copied to clipboard

polo install fails

Open entropycrusher opened this issue 3 years ago • 0 comments

I would love to try out polo with some weather station data I'm working with. Thanks for putting it together.

When I run 'pip install polo' at the anaconda prompt, it fails and I get the following messages...

Collecting polo Using cached polo-0.5.tar.gz (130 kB) Requirement already satisfied: numpy in c:\users\owner\anaconda3\lib\site-packages (from polo) (1.19.2) Requirement already satisfied: scipy in c:\users\owner\anaconda3\lib\site-packages (from polo) (1.5.2) Building wheels for collected packages: polo Building wheel for polo (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Owner\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo\setup.py'"'"'; file='"'"'C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Owner\AppData\Local\Temp\pip-wheel-453_1plz' cwd: C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo
Complete output (12 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\polo copying polo\test.py -> build\lib.win-amd64-3.8\polo copying polo_init_.py -> build\lib.win-amd64-3.8\polo running build_ext skipping 'polo\polo.c' Cython extension (up-to-date) building 'polo.polo' 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: Failed building wheel for polo Running setup.py clean for polo Failed to build polo Installing collected packages: polo Running setup.py install for polo ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Owner\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo\setup.py'"'"'; file='"'"'C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo\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\Owner\AppData\Local\Temp\pip-record-t0sjj_ek\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Owner\anaconda3\Include\polo' cwd: C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo
Complete output (12 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\polo copying polo\test.py -> build\lib.win-amd64-3.8\polo copying polo_init_.py -> build\lib.win-amd64-3.8\polo running build_ext skipping 'polo\polo.c' Cython extension (up-to-date) building 'polo.polo' 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:\Users\Owner\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo\setup.py'"'"'; file='"'"'C:\Users\Owner\AppData\Local\Temp\pip-install-ev0e2c_z\polo\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\Owner\AppData\Local\Temp\pip-record-t0sjj_ek\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Owner\anaconda3\Include\polo' Check the logs for full command output.

entropycrusher avatar Sep 23 '21 18:09 entropycrusher