bcolz
bcolz copied to clipboard
cant install bcolz library
when i want to install bcolz library om my system(windows),my system gives this error:
pip install bcolz
Collecting bcolz
Using cached bcolz-1.2.1.tar.gz (1.5 MB)
Requirement already satisfied: numpy>=1.7 in c:\users\faeze\appdata\local\programs\python\python38\lib\site-packages (from bcolz) (1.19.4)
Building wheels for collected packages: bcolz
Building wheel for bcolz (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\faeze\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\faeze\AppData\Local\Temp\pip-install-_76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e\setup.py'"'"'; file='"'"'C:\Users\faeze\AppData\Local\Temp\pip-install-76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e\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\faeze\AppData\Local\Temp\pip-wheel-aqlxdtf1'
cwd: C:\Users\faeze\AppData\Local\Temp\pip-install-76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e
Complete output (42 lines):
SSE2 detected
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\bcolz
copying bcolz\arrayprint.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\attrs.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\chunked_eval.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\ctable.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\defaults.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\py2help.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\py2help_tests.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\toplevel.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\utils.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\version.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz_init.py -> build\lib.win-amd64-3.8\bcolz
creating build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\all.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\common.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_attrs.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_carray.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_carray_objects.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_ctable.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_ndcarray.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_queries.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests_init.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\carray_ext.pxd -> build\lib.win-amd64-3.8\bcolz
running build_ext
skipping 'bcolz\carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' 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/
SSE2 detected
running bdist_wheel
running build
running build_py
copying bcolz\version.py -> build\lib.win-amd64-3.8\bcolz
running build_ext
skipping 'bcolz\carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' 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 bcolz
Running setup.py clean for bcolz
Failed to build bcolz
Installing collected packages: bcolz
Running setup.py install for bcolz ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\faeze\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\faeze\AppData\Local\Temp\pip-install-_76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e\setup.py'"'"'; file='"'"'C:\Users\faeze\AppData\Local\Temp\pip-install-76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e\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\faeze\AppData\Local\Temp\pip-record-vc8_dq19\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\faeze\appdata\local\programs\python\python38\Include\bcolz'
cwd: C:\Users\faeze\AppData\Local\Temp\pip-install-76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e
Complete output (42 lines):
SSE2 detected
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\bcolz
copying bcolz\arrayprint.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\attrs.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\chunked_eval.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\ctable.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\defaults.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\py2help.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\py2help_tests.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\toplevel.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\utils.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz\version.py -> build\lib.win-amd64-3.8\bcolz
copying bcolz_init.py -> build\lib.win-amd64-3.8\bcolz
creating build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\all.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\common.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_attrs.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_carray.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_carray_objects.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_ctable.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_ndcarray.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests\test_queries.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\tests_init.py -> build\lib.win-amd64-3.8\bcolz\tests
copying bcolz\carray_ext.pxd -> build\lib.win-amd64-3.8\bcolz
running build_ext
skipping 'bcolz\carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' 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/
SSE2 detected
running install
running build
running build_py
copying bcolz\version.py -> build\lib.win-amd64-3.8\bcolz
running build_ext
skipping 'bcolz\carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' 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\faeze\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\faeze\AppData\Local\Temp\pip-install-_76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e\setup.py'"'"'; file='"'"'C:\Users\faeze\AppData\Local\Temp\pip-install-_76jwhg3\bcolz_1f41c783dfc140f484cd2ff65bac521e\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\faeze\AppData\Local\Temp\pip-record-vc8_dq19\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\faeze\appdata\local\programs\python\python38\Include\bcolz' Check the logs for full command output.
how can i fix it?
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/
This occurs in the error log 4 times with the link- I'd start there.