You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I set up a new virtual environment, I installed Microsoft C++... I tried everything. I tried also installing libpython3.9-dev but didnt work (could not find a version that satisfies the requirement ... no matching distribution found for libpython...).
I also tried downloading bitarray and lru_dict wheels from a link someone provided here, but clicking the downloaded file opens and instantly closes the "cmd-like" window with some red sentence, too fast to be able to read it.
Hi, I set up a new virtual environment, I installed Microsoft C++... I tried everything. I tried also installing libpython3.9-dev but didnt work (could not find a version that satisfies the requirement ... no matching distribution found for libpython...).
I also tried downloading bitarray and lru_dict wheels from a link someone provided here, but clicking the downloaded file opens and instantly closes the "cmd-like" window with some red sentence, too fast to be able to read it.
How to proceed?
pip freeze
outputWhat was wrong?
pip install web3
WARNING: Ignoring invalid distribution -ip (e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages)
Collecting web3
Using cached web3-5.24.0-py3-none-any.whl (487 kB)
Requirement already satisfied: eth-typing<3.0.0,>=2.0.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from web3) (2.2.2)
Requirement already satisfied: eth-abi<3.0.0,>=2.0.0b6 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from web3) (2.1.1)
Requirement already satisfied: eth-hash[pycryptodome]<1.0.0,>=0.2.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from web3) (0.3.2)
Collecting aiohttp<4,>=3.7.4.post0
Using cached aiohttp-3.7.4.post0-cp39-cp39-win_amd64.whl (634 kB)
Collecting ipfshttpclient==0.8.0a2
Using cached ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
Requirement already satisfied: hexbytes<1.0.0,>=0.1.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from web3)
(0.2.2)
Collecting jsonschema<4.0.0,>=3.2.0
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting lru-dict<2.0.0,>=1.1.6
Using cached lru-dict-1.1.7.tar.gz (10 kB)
Preparing metadata (setup.py) ... done
Collecting protobuf<4,>=3.10.0
Using cached protobuf-3.18.1-cp39-cp39-win_amd64.whl (912 kB)
Collecting websockets<10,>=9.1
Using cached websockets-9.1-cp39-cp39-win_amd64.whl (90 kB)
Requirement already satisfied: requests<3.0.0,>=2.16.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from web3) (2.26.0)
Collecting pywin32>=223
Using cached pywin32-302-cp39-cp39-win_amd64.whl (9.3 MB)
Requirement already satisfied: eth-utils<2.0.0,>=1.9.5 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from web3) (1.10.0)
Collecting eth-account<0.6.0,>=0.5.6
Using cached eth_account-0.5.6-py3-none-any.whl (101 kB)
Requirement already satisfied: multiaddr>=0.0.7 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from ipfshttpclient==0.8.0a2->web3) (0.0.9)
Requirement already satisfied: yarl<2.0,>=1.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (1.7.0)
Requirement already satisfied: attrs>=17.3.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (21.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (5.2.0)
Requirement already satisfied: chardet<5.0,>=2.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (4.0.0)
Requirement already satisfied: typing-extensions>=3.6.5 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (3.10.0.2)
Collecting async-timeout<4.0,>=3.0
Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: parsimonious<0.9.0,>=0.8.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from eth-abi<3.0.0,>=2.0.0b6->web3) (0.8.1)
Requirement already satisfied: eth-keyfile<0.6.0,>=0.5.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (0.5.1)
Requirement already satisfied: eth-rlp<2,>=0.1.2 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\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 bitarray-1.2.2.tar.gz (48 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: rlp<3,>=1.0.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (2.0.1)
Requirement already satisfied: eth-keys!=0.3.2,<0.4.0,>=0.2.1 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from eth-account<0.6.0,>=0.5.6->web3) (0.3.3)
Requirement already satisfied: pycryptodome<4,>=3.6.6 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\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.10.1 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from eth-utils<2.0.0,>=1.9.5->web3) (0.11.0)
Requirement already satisfied: six>=1.11.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (1.16.0)
Requirement already satisfied: setuptools in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (58.2.0)
Requirement already satisfied: pyrsistent>=0.14.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (0.18.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (1.26.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (2021.10.8)
Requirement already satisfied: idna<4,>=2.5 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (3.3)
Requirement already satisfied: toolz>=0.8.0 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from cytoolz<1.0.0,>=0.10.1->eth-utils<2.0.0,>=1.9.5->web3) (0.11.1)
Requirement already satisfied: netaddr in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (0.8.0)
Requirement already satisfied: varint in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (1.0.2)
Requirement already satisfied: base58 in e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (2.1.0)
Building wheels for collected packages: lru-dict, bitarray
Building wheel for lru-dict (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'E:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\lru-dict_23fcdc359eb044ed82e7bf139b488f80\setup.py'"'"'; file='"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\lru-dict_23fcdc359eb044ed82e7bf139b488f80\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'"'"'))' bdist_wheel -d 'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-wheel-mwi8nx85'
cwd: C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\lru-dict_23fcdc359eb044ed82e7bf139b488f80
Complete output (11 lines):
running bdist_wheel
running build
running build_ext
building 'lru' extension
creating build
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include /Tclru.c /Fobuild\temp.win-amd64-3.9\Release\lru.obj
lru.c
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(59): fatal error C1083: No se puede abrir
el archivo incluir: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
ERROR: Failed building wheel for lru-dict
Running setup.py clean for lru-dict
Building wheel for bitarray (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'E:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f\setup.py'"'"'; file='"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f\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'"'"'))' bdist_wheel -d 'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-wheel-b3rc2xo8'
cwd: C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f
Complete output (19 lines):
running bdist_wheel
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
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\bitarray
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include /Tcbitarray/_bitarray.c /Fobuild\temp.win-amd64-3.9\Release\bitarray/_bitarray.obj
_bitarray.c
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(59): fatal error C1083: No se puede abrir
el archivo incluir: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
ERROR: Failed building wheel for bitarray
Running setup.py clean for bitarray
Failed to build lru-dict bitarray
WARNING: Ignoring invalid distribution -ip (e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages)
Installing collected packages: bitarray, async-timeout, websockets, pywin32, protobuf, lru-dict, jsonschema, ipfshttpclient, eth-account, aiohttp, web3
Running setup.py install for bitarray ... error
ERROR: Command errored out with exit status 1:
command: 'E:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f\setup.py'"'"'; file='"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f\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\Iru Lenovo\AppData\Local\Temp\pip-record-8alji9h0\install-record.txt' --single-version-externally-managed --compile --install-headers 'E:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\include\site\python3.9\bitarray'
cwd: C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f
Complete output (19 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
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\bitarray
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include /Tcbitarray/_bitarray.c /Fobuild\temp.win-amd64-3.9\Release\bitarray/_bitarray.obj
_bitarray.c
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\include\pyconfig.h(59): fatal error C1083: No se puede abrir el archivo incluir: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'E:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f\setup.py'"'"'; file='"'"'C:\Users\Iru Lenovo\AppData\Local\Temp\pip-install-7lsawmjy\bitarray_512f0d2a874f4d258fdb01337a013d7f\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\Iru Lenovo\AppData\Local\Temp\pip-record-8alji9h0\install-record.txt' --single-version-externally-managed --compile --install-headers 'E:\Iru DATOS\documentos\Coding stuff\Arbitrage bot sBCH-CFlex\venv-py3\include\site\python3.9\bitarray' Check the logs for full command output.
WARNING: Ignoring invalid distribution -ip (e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (e:\iru datos\documentos\coding stuff\arbitrage bot sbch-cflex\venv-py3\lib\site-packages)
The text was updated successfully, but these errors were encountered: