Unable to install proxybroker in PIP - python

I am trying to install proxybroker using PIP on Python 3.9.1, but I am getting the the following error, when I entered pip install proxybroker:-
Collecting proxybroker
Using cached proxybroker-0.3.2-py3-none-any.whl (1.6 MB)
Requirement already satisfied: aiohttp>=3.5.4 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from proxybroker) (3.7.3)
Requirement already satisfied: attrs==19.1.0 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from proxybroker) (19.1.0)
Requirement already satisfied: maxminddb>=1.4.1 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from proxybroker) (2.0.3)
Collecting aiodns>=2.0.0
Using cached aiodns-2.0.0-py2.py3-none-any.whl (4.8 kB)
Collecting pycares>=3.0.0
Using cached pycares-3.1.1.tar.gz (233 kB)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from aiohttp>=3.5.4->proxybroker) (5.1.0)
Requirement already satisfied: chardet<4.0,>=2.0 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from aiohttp>=3.5.4->proxybroker) (3.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from aiohttp>=3.5.4->proxybroker) (1.6.3)
Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from aiohttp>=3.5.4->proxybroker) (3.0.1)
Requirement already satisfied: typing-extensions>=3.6.5 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from aiohttp>=3.5.4->proxybroker) (3.7.4.3)
Requirement already satisfied: cffi>=1.5.0 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from pycares>=3.0.0->aiodns>=2.0.0->proxybroker) (1.14.5)
Requirement already satisfied: pycparser in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from cffi>=1.5.0->pycares>=3.0.0->aiodns>=2.0.0->proxybroker) (2.20)
Requirement already satisfied: idna>=2.0 in c:\users\jshs\appdata\local\programs\python\python39\lib\site-packages (from yarl<2.0,>=1.0->aiohttp>=3.5.4->proxybroker) (2.10)
Using legacy 'setup.py install' for pycares, since package 'wheel' is not installed.
Installing collected packages: pycares, aiodns, proxybroker
Running setup.py install for pycares ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\jshs\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\JSHS\\AppData\\Local\\Temp\\pip-install-kpsxgm2p\\pycares_9e37196811bb4121bae779a1fb0ccf7f\\setup.py'"'"'; __file__='"'"'C:\\Users\\JSHS\\AppData\\Local\\Temp\\pip-install-kpsxgm2p\\pycares_9e37196811bb4121bae779a1fb0ccf7f\\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\JSHS\AppData\Local\Temp\pip-record-c7u1qn2z\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\jshs\appdata\local\programs\python\python39\Include\pycares'
cwd: C:\Users\JSHS\AppData\Local\Temp\pip-install-kpsxgm2p\pycares_9e37196811bb4121bae779a1fb0ccf7f\
Complete output (26 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\pycares
copying src\pycares\errno.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\utils.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\_version.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\__init__.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\__main__.py -> build\lib.win-amd64-3.9\pycares
running build_ext
generating cffi module 'build\\temp.win-amd64-3.9\\Release\\_cares.c'
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
building '_cares' extension
creating build\temp.win-amd64-3.9\Release\build
creating build\temp.win-amd64-3.9\Release\build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release\build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\deps
creating build\temp.win-amd64-3.9\Release\deps\c-ares
creating build\temp.win-amd64-3.9\Release\deps\c-ares\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DCARES_PULL_WS2TCPIP_H=1 -Ic:\users\jshs\appdata\local\programs\python\python39\include -Ic:\users\jshs\appdata\local\programs\python\python39\include -Ideps\c-ares\src -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include /Tcbuild\temp.win-amd64-3.9\Release\_cares.c /Fobuild\temp.win-amd64-3.9\Release\build\temp.win-amd64-3.9\Release\_cares.obj
_cares.c
c:\users\jshs\appdata\local\programs\python\python39\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\jshs\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\JSHS\\AppData\\Local\\Temp\\pip-install-kpsxgm2p\\pycares_9e37196811bb4121bae779a1fb0ccf7f\\setup.py'"'"'; __file__='"'"'C:\\Users\\JSHS\\AppData\\Local\\Temp\\pip-install-kpsxgm2p\\pycares_9e37196811bb4121bae779a1fb0ccf7f\\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\JSHS\AppData\Local\Temp\pip-record-c7u1qn2z\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\jshs\appdata\local\programs\python\python39\Include\pycares' Check the logs for full command output.
It says that Microsoft build tools are missing, so I installed that too, but still not working!
Please help if possible!

have you tried to downgrade the python version?
I suspect it is because of the version that you are using.
From this link, it seems that it is compatible to python 3.5 or 3.6.
https://pypi.org/project/proxybroker/

Related

install web3.py error: command 'cl.exe' failed: No such file or directory

install web3.py error: command 'cl.exe' failed: No such file or directory
(eth_env) D:\BaiduNetdiskWorkspace>pip install web3
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting web3
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c5/d6/e69cb31b3ea91309cc555cc779dd37b3344d387d66f4e608ffd07b2dac27/web3-5.24.0-py3-none-any.whl (487 kB)
Collecting eth-account<0.6.0,>=0.5.6
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/2d/6e/f664d592ed2a4879de450e1e88d64453c8dc6feeae080d1d2f21f2826c32/eth_account-0.5.6-py3-none-any.whl (101 kB)
Collecting protobuf<4,>=3.10.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a0/5c/d8bae5c0e15945839a827b36d634bcfde091d8792cbeec76b130d8546aac/protobuf-3.19.1-cp38-cp38-win_amd64.whl (895 kB)
Collecting aiohttp<4,>=3.7.4.post0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f4/a2/28a7ec428c3f140ead2f3238814743e5eaf8be3c7dbf42a9551b11357691/aiohttp-3.7.4.post0-cp38-cp38-win_amd64.whl (635 kB)
Requirement already satisfied: eth-typing<3.0.0,>=2.0.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (2.2.2)
Collecting lru-dict<2.0.0,>=1.1.6
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/68/ea/997af58d4e6da019ad825a412f93081d9df67e9dda11cfb026a3d7cd0b6c/lru-dict-1.1.7.tar.gz (10 kB)
Requirement already satisfied: eth-utils<2.0.0,>=1.9.5 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (1.10.0)
Collecting ipfshttpclient==0.8.0a2
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a0/ba/053527fbf8b3d75df19c8a6309f1f839c8ee721e4e36cfd966a0c83f6394/ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
Collecting websockets<10,>=9.1
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f9/68/1e4a45c29466edbe4247917b22b8ced34a8b6766194cac84b860c9262039/websockets-9.1-cp38-cp38-win_amd64.whl (90 kB)
Requirement already satisfied: eth-abi<3.0.0,>=2.0.0b6 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (2.1.1)
Requirement already satisfied: requests<3.0.0,>=2.16.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (2.25.1)
Requirement already satisfied: jsonschema<4.0.0,>=3.2.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (3.2.0)
Requirement already satisfied: hexbytes<1.0.0,>=0.1.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (0.2.2)
Requirement already satisfied: pywin32>=223 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (228)
Requirement already satisfied: eth-hash[pycryptodome]<1.0.0,>=0.2.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from web3) (0.3.2)
Requirement already satisfied: multiaddr>=0.0.7 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from ipfshttpclient==0.8.0a2->web3) (0.0.9)
Requirement already satisfied: yarl<2.0,>=1.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (1.7.0)
Requirement already satisfied: multidict<7.0,>=4.5 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (5.2.0)
Requirement already satisfied: attrs>=17.3.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (21.2.0)
Requirement already satisfied: typing-extensions>=3.6.5 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (3.10.0.0)
Collecting async-timeout<4.0,>=3.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: chardet<5.0,>=2.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (4.0.0)
Requirement already satisfied: parsimonious<0.9.0,>=0.8.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-abi<3.0.0,>=2.0.0b6->web3) (0.8.1)
Requirement already satisfied: eth-keys!=0.3.2,<0.4.0,>=0.2.1 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (0.3.3)
Requirement already satisfied: eth-rlp<2,>=0.1.2 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (0.2.1)
Collecting bitarray<1.3.0,>=1.2.1
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/59/cd/cad4ea90820e58e4b46bc16b273d5928e09c3df467d3b10ad1f5a09c61d3/bitarray-1.2.2.tar.gz (48 kB)
Requirement already satisfied: rlp<3,>=1.0.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (2.0.1)
Requirement already satisfied: eth-keyfile<0.6.0,>=0.5.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (0.5.1)
Requirement already satisfied: pycryptodome<4,>=3.6.6 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-hash[pycryptodome]<1.0.0,>=0.2.0->web3) (3.11.0)
Requirement already satisfied: cytoolz<1.0.0,>=0.9.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from eth-keyfile<0.6.0,>=0.5.0->eth-account<0.6.0,>=0.5.6->web3) (0.11.0)
Requirement already satisfied: toolz>=0.8.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from cytoolz<1.0.0,>=0.9.0->eth-keyfile<0.6.0,>=0.5.0->eth-account<0.6.0,>=0.5.6->web3) (0.11.1)
Requirement already satisfied: pyrsistent>=0.14.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (0.17.3)
Requirement already satisfied: six>=1.11.0 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (1.16.0)
Requirement already satisfied: setuptools in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (52.0.0.post20210125)
Requirement already satisfied: varint in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (1.0.2)
Requirement already satisfied: base58 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (2.1.0)
Requirement already satisfied: netaddr in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (0.8.0)
Requirement already satisfied: certifi>=2017.4.17 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (1.26.6)
Requirement already satisfied: idna<3,>=2.5 in d:\softwares\anaconda3\envs\eth_env\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (2.10)
Building wheels for collected packages: bitarray, lru-dict
Building wheel for bitarray (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\softwares\anaconda3\envs\eth_env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\bitarray_53a143749edc4eca903fd5b486993ef1\\setup.p
y'"'"'; __file__='"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\bitarray_53a143749edc4eca903fd5b486993ef1\\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\EDZ\AppData\Local\Temp\pip-wheel-x6pcl9d8'
cwd: C:\Users\EDZ\AppData\Local\Temp\pip-install-hugx1qez\bitarray_53a143749edc4eca903fd5b486993ef1\
Complete output (17 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\bitarray
copying bitarray\test_bitarray.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\test_util.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\util.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\__init__.py -> build\lib.win-amd64-3.8\bitarray
running build_ext
building 'bitarray._bitarray' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\bitarray
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\softwares\anaconda3\envs\eth_env\include -ID:\softwares\anaconda3\envs\eth_env\include "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)
\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\includ
e\10.0.17763.0\cppwinrt" /Tcbitarray/_bitarray.c /Fobuild\temp.win-amd64-3.8\Release\bitarray/_bitarray.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for bitarray
Running setup.py clean for bitarray
Building wheel for lru-dict (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\softwares\anaconda3\envs\eth_env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\lru-dict_9ed5c257ad6d478688d1c72ba5991612\\setup.p
y'"'"'; __file__='"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\lru-dict_9ed5c257ad6d478688d1c72ba5991612\\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\EDZ\AppData\Local\Temp\pip-wheel-af0nujn8'
cwd: C:\Users\EDZ\AppData\Local\Temp\pip-install-hugx1qez\lru-dict_9ed5c257ad6d478688d1c72ba5991612\
Complete output (9 lines):
running bdist_wheel
running build
running build_ext
building 'lru' extension
creating build
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\softwares\anaconda3\envs\eth_env\include -ID:\softwares\anaconda3\envs\eth_env\include "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)
\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\includ
e\10.0.17763.0\cppwinrt" /Tclru.c /Fobuild\temp.win-amd64-3.8\Release\lru.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for lru-dict
Running setup.py clean for lru-dict
Failed to build bitarray lru-dict
Installing collected packages: bitarray, async-timeout, websockets, protobuf, lru-dict, ipfshttpclient, eth-account, aiohttp, web3
Running setup.py install for bitarray ... error
ERROR: Command errored out with exit status 1:
command: 'D:\softwares\anaconda3\envs\eth_env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\bitarray_53a143749edc4eca903fd5b486993ef1\\setup
.py'"'"'; __file__='"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\bitarray_53a143749edc4eca903fd5b486993ef1\\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\EDZ\AppData\Local\Temp\pip-record-h1m6lyoe\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\so
ftwares\anaconda3\envs\eth_env\Include\bitarray'
cwd: C:\Users\EDZ\AppData\Local\Temp\pip-install-hugx1qez\bitarray_53a143749edc4eca903fd5b486993ef1\
Complete output (17 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\bitarray
copying bitarray\test_bitarray.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\test_util.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\util.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\__init__.py -> build\lib.win-amd64-3.8\bitarray
running build_ext
building 'bitarray._bitarray' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\bitarray
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\softwares\anaconda3\envs\eth_env\include -ID:\softwares\anaconda3\envs\eth_env\include "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x8
6)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\incl
ude\10.0.17763.0\cppwinrt" /Tcbitarray/_bitarray.c /Fobuild\temp.win-amd64-3.8\Release\bitarray/_bitarray.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------
ERROR: Command errored out with exit status 1: 'D:\softwares\anaconda3\envs\eth_env\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\bitarray_53a143
749edc4eca903fd5b486993ef1\\setup.py'"'"'; __file__='"'"'C:\\Users\\EDZ\\AppData\\Local\\Temp\\pip-install-hugx1qez\\bitarray_53a143749edc4eca903fd5b486993ef1\\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\EDZ\AppData\Local\Temp\pip-record-h1m6lyoe\install-record.txt' --single-version-externally-managed -
-compile --install-headers 'D:\softwares\anaconda3\envs\eth_env\Include\bitarray' Check the logs for full command output.
My python version: 3.8.5
I have already install Microsoft C++ 14.0 and Win10 SDK, Win8 SDK, it still didn't work.
The error message is a little long this is the last message it gives
error: command 'cl.exe' failed: No such file or directory

How to install wordcloud for python?

I am trying to visualise data using word cloud. However when I used pip install wordcloud, I got the following error:
D:\...>pip install wordcloud
Collecting wordcloud
Using cached wordcloud-1.8.1.tar.gz (220 kB)
Requirement already satisfied: numpy>=1.6.1 in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from wordcloud) (1.19.5
)
Requirement already satisfied: pillow in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from wordcloud) (8.1.0)
Requirement already satisfied: matplotlib in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from wordcloud) (3.3.3)
Requirement already satisfied: python-dateutil>=2.1 in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from matplotlib
->wordcloud) (2.8.1)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from matplotlib->w
ordcloud) (1.3.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packa
ges (from matplotlib->wordcloud) (2.4.7)
Requirement already satisfied: cycler>=0.10 in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from matplotlib->wordcl
oud) (0.10.0)
Requirement already satisfied: six in c:\users\ameli\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from cycler>=0.10->matplotlib->w
ordcloud) (1.15.0)
Using legacy 'setup.py install' for wordcloud, since package 'wheel' is not installed.
Installing collected packages: wordcloud
Running setup.py install for wordcloud ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ameli\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ameli\\Ap
pData\\Local\\Temp\\pip-install-i40_agzl\\wordcloud_591db346adc745a0a41bcad116c4a453\\setup.py'"'"'; __file__='"'"'C:\\Users\\ameli\\AppData\\Local\\Temp\\pip-install-i40_agzl\\wordcloud_591db346adc745a0a41bc
ad116c4a453\\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\ameli\AppData\Local\Temp\pip-record-odcy4xrk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\ameli\AppData\Local\Packages\PythonSoftwareFo
undation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\wordcloud'
cwd: C:\Users\ameli\AppData\Local\Temp\pip-install-i40_agzl\wordcloud_591db346adc745a0a41bcad116c4a453\
Complete output (20 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\wordcloud
copying wordcloud\color_from_image.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\tokenization.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\wordcloud.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\wordcloud_cli.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\_version.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\__init__.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\__main__.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\stopwords -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\DroidSansMono.ttf -> build\lib.win-amd64-3.9\wordcloud
UPDATING build\lib.win-amd64-3.9\wordcloud/_version.py
set build\lib.win-amd64-3.9\wordcloud/_version.py to '1.8.1'
running build_ext
building 'wordcloud.query_integral_image' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\ameli\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.ar
gv[0] = '"'"'C:\\Users\\ameli\\AppData\\Local\\Temp\\pip-install-i40_agzl\\wordcloud_591db346adc745a0a41bcad116c4a453\\setup.py'"'"'; __file__='"'"'C:\\Users\\ameli\\AppData\\Local\\Temp\\pip-install-i40_agzl
\\wordcloud_591db346adc745a0a41bcad116c4a453\\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\ameli\AppData\Local\Temp\pip-record-odcy4xrk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\ameli\AppDat
a\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\wordcloud' Check the logs for full command output.
Wordcloud is not a pure Python project as it has some C code. C code needs to be built for different operating systems and Python versions.
Normally when you run pip install wordcloud, pip tries to find a built package (aka wheel) for your OS and Python but if it can't find, it downloads the source code and tries to build (compile) it.
But this process obviously requires a C compiler which is not supposed to be in a Python developer's system.
I built the package for several configurations and made them public.
You can directly install from there.
For example if you use Windows and Python 3.10, run pip install https://github.com/sulunemre/word_cloud/releases/download/2/wordcloud-0.post1+gd8241b5-cp310-cp310-win_amd64.whl
As mentioned in comments, downloading the build tools from this link and running the .exe file solved the problem.
Installing wordcloud for python
Wordcloud installation throws error if not satified any of these steps:
Installing the dependencies of wordcloud : matplotlib, pillow, numpy, pandas
Checking for version of Python used
Checking for version of operating system
Checking for version of wordcloud satisfying the version of Python and operating system used
Missing to check version of wordcloud satisfying the version of python and operating system used doesn't help building wheel for installing wordcloud.
Current latest version of wordcloud is 1.8.1
Installing wordcloud:
pip install wordcloud==1.8.1
The code is tested against Python 2.7, 3.4, 3.5, 3.6 and 3.7.

Can't install Ball module

I am having a lot of trouble installing the Ball module, im running latest version of pip, python and im on windows 10. here is the error:
pip install ball
`Collecting ball
Using cached Ball-0.2.9.tar.gz (348 kB)
Requirement already satisfied: numpy in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from ball) (1.19.5)
Requirement already satisfied: scikit-learn in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from ball) (0.24.0)
Requirement already satisfied: pygam in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from ball) (0.8.0)
Requirement already satisfied: progressbar2 in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from pygam->ball) (3.53.1)
Requirement already satisfied: scipy in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from pygam->ball) (1.6.0)
Requirement already satisfied: future in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from pygam->ball) (0.18.2)
Requirement already satisfied: six in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from progressbar2->pygam->ball) (1.15.0)
Requirement already satisfied: python-utils>=2.3.0 in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from progressbar2->pygam->ball) (2.4.0)
Requirement already satisfied: joblib>=0.11 in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from scikit-learn->ball) (1.0.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\davis\appdata\local\programs\python\python39\lib\site-packages (from scikit-learn->ball) (2.1.0)
Using legacy 'setup.py install' for ball, since package 'wheel' is not installed.
Installing collected packages: ball
Running setup.py install for ball ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\davis\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Davis\\AppData\\Local\\Temp\\pip-install-0abie82x\\ball_2fc4c2cf6ca545768116429af36f95b5\\setup.py'"'"'; __file__='"'"'C:\\Users\\Davis\\AppData\\Local\\Temp\\pip-install-0abie82x\\ball_2fc4c2cf6ca545768116429af36f95b5\\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\Davis\AppData\Local\Temp\pip-record-ly4riu7c\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\davis\appdata\local\programs\python\python39\Include\ball'
cwd: C:\Users\Davis\AppData\Local\Temp\pip-install-0abie82x\ball_2fc4c2cf6ca545768116429af36f95b5\
Complete output (18 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\Ball
copying Ball\bcorsis.py -> build\lib.win-amd64-3.9\Ball
copying Ball\bcov.py -> build\lib.win-amd64-3.9\Ball
copying Ball\bd.py -> build\lib.win-amd64-3.9\Ball
copying Ball\cball.py -> build\lib.win-amd64-3.9\Ball
copying Ball\utilize.py -> build\lib.win-amd64-3.9\Ball
copying Ball\wrap_c.py -> build\lib.win-amd64-3.9\Ball
copying Ball\__init__.py -> build\lib.win-amd64-3.9\Ball
running build_ext
building 'Ball._cball' extension
swigging src/cball.i to src/cball_wrap.c
swig.exe -python -o src/cball_wrap.c src/cball.i
error: command 'swig.exe' failed: None
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\davis\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Davis\\AppData\\Local\\Temp\\pip-install-0abie82x\\ball_2fc4c2cf6ca545768116429af36f95b5\\setup.py'"'"'; __file__='"'"'C:\\Users\\Davis\\AppData\\Local\\Temp\\pip-install-0abie82x\\ball_2fc4c2cf6ca545768116429af36f95b5\\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\Davis\AppData\Local\Temp\pip-record-ly4riu7c\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\davis\appdata\local\programs\python\python39\Include\ball' Check the logs for full command output.`

How to solve error when installing auto-py-to-exe?

I am trying to pip install auto-py-to-exe, but got following error.
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for
Visual Studio": https://visualstudio.microsoft.com/downloads/
I also
tried to download wheel or .gz file and install but it gave me the same error.
Here the full error message goes.
C:\Users\soham>pip install C:\Users\soham\Downloads\auto-py-to-exe-2.7.8
Processing c:\users\soham\downloads\auto-py-to-exe-2.7.8
Collecting Eel==0.12.4
Using cached Eel-0.12.4.tar.gz (15 kB)
Requirement already satisfied: pyinstaller>=3.4 in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from auto-py-to-exe==2.7.8) (4.0)
Collecting bottle
Using cached bottle-0.12.18-py3-none-any.whl (89 kB)
Collecting bottle-websocket
Using cached bottle-websocket-0.2.9.tar.gz (2.0 kB)
Requirement already satisfied: future in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from Eel==0.12.4->auto-py-to-exe==2.7.8) (0.18.2)
Collecting whichcraft
Using cached whichcraft-0.6.1-py2.py3-none-any.whl (5.2 kB)
Requirement already satisfied: pywin32-ctypes>=0.2.0; sys_platform == "win32" in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from pyinstaller>=3.4->auto-py-to-exe==2.7.8) (0.2.0)
Requirement already satisfied: altgraph in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from pyinstaller>=3.4->auto-py-to-exe==2.7.8) (0.17)
Requirement already satisfied: pefile>=2017.8.1; sys_platform == "win32" in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from pyinstaller>=3.4->auto-py-to-exe==2.7.8) (2019.4.18)
Requirement already satisfied: setuptools in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from pyinstaller>=3.4->auto-py-to-exe==2.7.8) (49.2.1)
Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in c:\users\soham\appdata\local\programs\python\python39\lib\site-packages (from pyinstaller>=3.4->auto-py-to-exe==2.7.8) (2020.9)
Collecting gevent-websocket
Using cached gevent_websocket-0.10.1-py3-none-any.whl (22 kB)
Collecting gevent
Using cached gevent-20.9.0.tar.gz (5.8 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\soham\appdata\local\programs\python\python39\python.exe' 'c:\users\soham\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\soham\AppData\Local\Temp\pip-build-env-qcvagi7m\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 40.8.0' wheel 'Cython >= 3.0a5' 'cffi >= 1.12.3 ; platform_python_implementation == '"'"'CPython'"'"'' 'greenlet >= 0.4.17 ; platform_python_implementation == '"'"'CPython'"'"''
cwd: None
Complete output (27 lines):
Collecting setuptools>=40.8.0
Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting Cython>=3.0a5
Using cached Cython-3.0a6-py2.py3-none-any.whl (1.0 MB)
Collecting cffi>=1.12.3
Using cached cffi-1.14.3-cp39-cp39-win_amd64.whl (179 kB)
Collecting greenlet>=0.4.17
Using cached greenlet-0.4.17.tar.gz (61 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Using legacy 'setup.py install' for greenlet, since package 'wheel' is not installed.
Installing collected packages: setuptools, wheel, Cython, pycparser, cffi, greenlet
Running setup.py install for greenlet: started
Running setup.py install for greenlet: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\soham\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\soham\\AppData\\Local\\Temp\\pip-install-gvck6c55\\greenlet\\setup.py'"'"'; __file__='"'"'C:\\Users\\soham\\AppData\\Local\\Temp\\pip-install-gvck6c55\\greenlet\\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\soham\AppData\Local\Temp\pip-record-0sbse4fp\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\soham\AppData\Local\Temp\pip-build-env-qcvagi7m\overlay' --compile --install-headers 'C:\Users\soham\AppData\Local\Temp\pip-build-env-qcvagi7m\overlay\Include\greenlet'
cwd: C:\Users\soham\AppData\Local\Temp\pip-install-gvck6c55\greenlet\
Complete output (5 lines):
running install
running build
running build_ext
building 'greenlet' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\soham\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\soham\\AppData\\Local\\Temp\\pip-install-gvck6c55\\greenlet\\setup.py'"'"'; __file__='"'"'C:\\Users\\soham\\AppData\\Local\\Temp\\pip-install-gvck6c55\\greenlet\\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\soham\AppData\Local\Temp\pip-record-0sbse4fp\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\soham\AppData\Local\Temp\pip-build-env-qcvagi7m\overlay' --compile --install-headers 'C:\Users\soham\AppData\Local\Temp\pip-build-env-qcvagi7m\overlay\Include\greenlet' Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\soham\appdata\local\programs\python\python39\python.exe' 'c:\users\soham\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\soham\AppData\Local\Temp\pip-build-env-qcvagi7m\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 40.8.0' wheel 'Cython >= 3.0a5' 'cffi >= 1.12.3 ; platform_python_implementation == '"'"'CPython'"'"'' 'greenlet >= 0.4.17 ; platform_python_implementation == '"'"'CPython'"'"'' Check the logs for full command output.
Thank you in advance.
Try to install Microsoft Visual C++ 14.0.
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio":
https://visualstudio.microsoft.com/downloads/
You should go on Visual C++ 2015 Build Tools to install Visual C++ 14.0 without installing Visual Studio.

Error while installing dependencies for a project [duplicate]

This question already has answers here:
Pip error: Microsoft Visual C++ 14.0 is required
(13 answers)
Closed 2 years ago.
(env) C:\Users\CSUFTitan\Desktop\Final_Starter\backend>pip3 install -r requirements.txt
Requirement already satisfied: aniso8601==6.0.0 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 1)) (6.0.0)
Requirement already satisfied: Click==7.0 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 2)) (7.0)
Requirement already satisfied: Flask==1.0.3 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 3)) (1.0.3)
Requirement already satisfied: Flask-Cors==3.0.7 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 4)) (3.0.7)
Requirement already satisfied: Flask-RESTful==0.3.7 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 5)) (0.3.7)
Requirement already satisfied: Flask-SQLAlchemy==2.4.0 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 6)) (2.4.0)
Requirement already satisfied: itsdangerous==1.1.0 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 7)) (1.1.0)
Requirement already satisfied: Jinja2==2.10.1 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 8)) (2.10.1)
Requirement already satisfied: MarkupSafe==1.1.1 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 9)) (1.1.1)
Collecting psycopg2-binary==2.8.2
Using cached psycopg2-binary-2.8.2.tar.gz (369 kB)
Requirement already satisfied: pytz==2019.1 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 11)) (2019.1)
Requirement already satisfied: six==1.12.0 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 12)) (1.12.0)
Requirement already satisfied: SQLAlchemy==1.3.4 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 13)) (1.3.4)
Requirement already satisfied: Werkzeug==0.15.4 in c:\users\csuftitan\desktop\final_starter\env\lib\site-packages (from -r requirements.txt (line 14)) (0.15.4)
Using legacy setup.py install for psycopg2-binary, since package 'wheel' is not installed.
Installing collected packages: psycopg2-binary
Attempting uninstall: psycopg2-binary
Found existing installation: psycopg2-binary 2.8.5
Uninstalling psycopg2-binary-2.8.5:
Successfully uninstalled psycopg2-binary-2.8.5
Running setup.py install for psycopg2-binary ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\csuftitan\desktop\final_starter\env\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CSUFTitan\\AppData\\Local\\Temp\\pip-install-1nbc6jyl\\psycopg2-binary\\setup.py'"'"'; __file__='"'"'C:\\Users\\CSUFTitan\\AppData\\Local\\Temp\\pip-install-1nbc6jyl\\psycopg2-binary\\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\CSUFTitan\AppData\Local\Temp\pip-record-k_sqf8bd\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\csuftitan\desktop\final_starter\env\include\site\python3.8\psycopg2-binary'
cwd: C:\Users\CSUFTitan\AppData\Local\Temp\pip-install-1nbc6jyl\psycopg2-binary\
Complete output (22 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\psycopg2
copying lib\compat.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\errorcodes.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\errors.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\extensions.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\extras.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\pool.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\sql.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\tz.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\_ipaddress.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\_json.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\_lru_cache.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\_range.py -> build\lib.win-amd64-3.8\psycopg2
copying lib\__init__.py -> build\lib.win-amd64-3.8\psycopg2
running build_ext
building 'psycopg2._psycopg' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Rolling back uninstall of psycopg2-binary
Moving to c:\users\csuftitan\desktop\final_starter\env\lib\site-packages\psycopg2\
from C:\Users\CSUFTitan\Desktop\Final_Starter\env\Lib\site-packages\~sycopg2
Moving to c:\users\csuftitan\desktop\final_starter\env\lib\site-packages\psycopg2_binary-2.8.5.dist-info\
from C:\Users\CSUFTitan\Desktop\Final_Starter\env\Lib\site-packages\~sycopg2_binary-2.8.5.dist-info
ERROR: Command errored out with exit status 1: 'c:\users\csuftitan\desktop\final_starter\env\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CSUFTitan\\AppData\\Local\\Temp\\pip-install-1nbc6jyl\\psycopg2-binary\\setup.py'"'"'; __file__='"'"'C:\\Users\\CSUFTitan\\AppData\\Local\\Temp\\pip-install-1nbc6jyl\\psycopg2-binary\\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\CSUFTitan\AppData\Local\Temp\pip-record-k_sqf8bd\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\csuftitan\desktop\final_starter\env\include\site\python3.8\psycopg2-binary'
Check the logs for full command output.
Instead of
pip install psycopg2
try to run
pip install psycopg2-binary
or
pip install psycopg2-binary --user
or
You can find a compiled version of psycopg2 here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
download binary file from this link and do easy_install.

Categories

Resources