PS D:\Documents\python_projects\basic_project> pip install web3
Collecting web3
Downloading web3-5.31.3-py3-none-any.whl (501 kB)
---------------------------------------- 501.8/501.8 kB 409.0 kB/s eta 0:00:00
Requirement already satisfied: aiohttp<4,>=3.7.4.post0 in c:\program files\python\lib\site-packages (from web3) (3.8.3)
Collecting protobuf==3.19.5
Downloading protobuf-3.19.5-cp38-cp38-win_amd64.whl (896 kB)
---------------------------------------- 896.1/896.1 kB 420.6 kB/s eta 0:00:00
Collecting websockets<10,>=9.1
Downloading websockets-9.1-cp38-cp38-win_amd64.whl (90 kB)
---------------------------------------- 90.2/90.2 kB 571.1 kB/s eta 0:00:00
Collecting hexbytes<1.0.0,>=0.1.0
Downloading hexbytes-0.3.0-py3-none-any.whl (6.4 kB)
Collecting eth-rlp<0.3
Downloading eth_rlp-0.2.1-py3-none-any.whl (5.0 kB)
Requirement already satisfied: requests<3.0.0,>=2.16.0 in c:\program files\python\lib\site-packages (from web3) (2.28.1)
Collecting eth-hash[pycryptodome]<1.0.0,>=0.2.0
Downloading eth_hash-0.5.1-py3-none-any.whl (9.0 kB)
Collecting ipfshttpclient==0.8.0a2
Downloading ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
---------------------------------------- 82.6/82.6 kB 927.2 kB/s eta 0:00:00
Collecting eth-account<0.6.0,>=0.5.9
Downloading eth_account-0.5.9-py3-none-any.whl (101 kB)
---------------------------------------- 101.8/101.8 kB 973.7 kB/s eta 0:00:00
Collecting eth-abi<3.0.0,>=2.2.0
Downloading eth_abi-2.2.0-py3-none-any.whl (28 kB)
Collecting eth-typing<3.0.0,>=2.0.0
Downloading eth_typing-2.3.0-py3-none-any.whl (6.2 kB)
Collecting pywin32>=223
Using cached pywin32-305-cp38-cp38-win_amd64.whl (12.3 MB)
Collecting jsonschema<5,>=3.2.0
Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
---------------------------------------- 90.4/90.4 kB 572.4 kB/s eta 0:00:00
Collecting lru-dict<2.0.0,>=1.1.6
Downloading lru_dict-1.1.8-cp38-cp38-win_amd64.whl (12 kB)
Collecting eth-utils<2.0.0,>=1.9.5
Downloading eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting multiaddr>=0.0.7
Downloading multiaddr-0.0.9-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (2.
1.1)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (6.0.3)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (1.8.2)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (4.0
.2)
Requirement already satisfied: attrs>=17.3.0 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (22.1.0)
Requirement already satisfied: aiosignal>=1.1.2 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (1.3.1)
Requirement already satisfied: frozenlist>=1.1.1 in c:\program files\python\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (1.3.3)
Collecting parsimonious<0.9.0,>=0.8.0
Downloading parsimonious-0.8.1.tar.gz (45 kB)
---------------------------------------- 45.1/45.1 kB 740.8 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting eth-keyfile<0.6.0,>=0.5.0
Downloading eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting rlp<3,>=1.0.0
Downloading rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting bitarray<3,>=1.2.1
Downloading bitarray-2.6.1-cp38-cp38-win_amd64.whl (107 kB)
---------------------------------------- 107.6/107.6 kB 6.5 MB/s eta 0:00:00
Collecting eth-keys<0.4.0,>=0.3.4
Downloading eth_keys-0.3.4-py3-none-any.whl (21 kB)
Collecting pycryptodome<4,>=3.6.6
Downloading pycryptodome-3.16.0-cp35-abi3-win_amd64.whl (1.7 MB)
---------------------------------------- 1.7/1.7 MB 755.2 kB/s eta 0:00:00
Collecting eth-utils<2.0.0,>=1.9.5
Downloading eth_utils-1.9.5-py3-none-any.whl (23 kB)
Collecting cytoolz<1.0.0,>=0.10.1
Downloading cytoolz-0.12.1-cp38-cp38-win_amd64.whl (330 kB)
---------------------------------------- 330.6/330.6 kB 892.4 kB/s eta 0:00:00
Collecting pkgutil-resolve-name>=1.3.10
Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Downloading pyrsistent-0.19.2-cp38-cp38-win_amd64.whl (62 kB)
---------------------------------------- 62.8/62.8 kB 3.5 MB/s eta 0:00:00
Collecting importlib-resources>=1.4.0
Downloading importlib_resources-5.10.1-py3-none-any.whl (34 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\program files\python\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in c:\program files\python\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (2022.9.24)
Requirement already satisfied: idna<4,>=2.5 in c:\program files\python\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (3.4)
Collecting toolz>=0.8.0
Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
---------------------------------------- 55.8/55.8 kB 3.0 MB/s eta 0:00:00
Collecting zipp>=3.1.0
Downloading zipp-3.11.0-py3-none-any.whl (6.6 kB)
Requirement already satisfied: six in c:\program files\python\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (1.16.0)
Collecting varint
Downloading varint-1.0.2.tar.gz (1.9 kB)
Preparing metadata (setup.py) ... done
Collecting netaddr
Downloading netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
---------------------------------------- 1.9/1.9 MB 755.8 kB/s eta 0:00:00
Collecting base58
Downloading base58-2.1.1-py3-none-any.whl (5.6 kB)
Installing collected packages: varint, pywin32, netaddr, lru-dict, bitarray, zipp, websockets, toolz, pyrsistent, pycryptodome, protobuf, pkgutil
-resolve-name, parsimonious, hexbytes, eth-typing, eth-hash, base58, multiaddr, importlib-resources, cytoolz, jsonschema, ipfshttpclient, eth-uti
ls, rlp, eth-keys, eth-abi, eth-rlp, eth-keyfile, eth-account, web3
DEPRECATION: varint is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel'
package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion
can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for varint ... done
DEPRECATION: parsimonious is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'w
heel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discu
ssion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for parsimonious ... done
Successfully installed base58-2.1.1 bitarray-2.6.1 cytoolz-0.12.1 eth-abi-2.2.0 eth-account-0.5.9 eth-hash-0.5.1 eth-keyfile-0.5.1 eth-keys-0.3.4
eth-rlp-0.2.1 eth-typing-2.3.0 eth-utils-1.9.5 hexbytes-0.3.0 importlib-resources-5.10.1 ipfshttpclient-0.8.0a2 jsonschema-4.17.3 lru-dict-1.1.8
multiaddr-0.0.9 netaddr-0.8.0 parsimonious-0.8.1 pkgutil-resolve-name-1.3.10 protobuf-3.19.5 pycryptodome-3.16.0 pyrsistent-0.19.2 pywin32-305 r
lp-2.0.1 toolz-0.12.0 varint-1.0.2 web3-5.31.3 websockets-9.1 zipp-3.11.0
PS D:\Documents\python_projects\basic_project> pip list
Package Version
-------------------- -----------
aiogram 2.23.1
aiohttp 3.8.3
aiosignal 1.3.1
async-timeout 4.0.2
attrs 22.1.0
Babel 2.9.1
base58 2.1.1
beautifulsoup4 4.11.1
bitarray 2.6.1
certifi 2022.9.24
charset-normalizer 2.1.1
cytoolz 0.12.1
eth-abi 2.2.0
eth-account 0.5.9
eth-hash 0.5.1
eth-keyfile 0.5.1
eth-keys 0.3.4
eth-rlp 0.2.1
eth-typing 2.3.0
eth-utils 1.9.5
frozenlist 1.3.3
hexbytes 0.3.0
idna 3.4
importlib-resources 5.10.1
ipfshttpclient 0.8.0a2
jsonschema 4.17.3
keyboard 0.13.5
lru-dict 1.1.8
lxml 4.9.2
magic-filter 1.0.9
multiaddr 0.0.9
multidict 6.0.3
netaddr 0.8.0
numpy 1.23.5
pandas 1.5.2
parsimonious 0.8.1
pip 22.3.1
pkgutil_resolve_name 1.3.10
protobuf 3.19.5
psutil 5.9.4
pycryptodome 3.16.0
pyrsistent 0.19.2
python-dateutil 2.8.2
pytz 2022.6
pywin32 305
requests 2.28.1
rlp 2.0.1
setuptools 65.6.3
six 1.16.0
soupsieve 2.3.2.post1
tk 0.1.0
toolz 0.12.0
urllib3 1.26.13
varint 1.0.2
web3 5.31.3
websockets 9.1
yarl 1.8.2
zipp 3.11.0
[/CODE][/SPOILER](venv) C:\Users\Pavlo\PycharmProjects\pythonProject>pip install web3
Collecting web3
Using cached web3-5.31.3-py3-none-any.whl (501 kB)
Collecting aiohttp<4,>=3.7.4.post0
Using cached aiohttp-3.8.3-cp311-cp311-win_amd64.whl (317 kB)
Collecting eth-abi<3.0.0,>=2.2.0
Using cached eth_abi-2.2.0-py3-none-any.whl (28 kB)
Collecting eth-account<0.6.0,>=0.5.9
Using cached eth_account-0.5.9-py3-none-any.whl (101 kB)
Collecting eth-hash[pycryptodome]<1.0.0,>=0.2.0
Using cached eth_hash-0.5.1-py3-none-any.whl (9.0 kB)
Collecting eth-rlp<0.3
Using cached eth_rlp-0.2.1-py3-none-any.whl (5.0 kB)
Collecting eth-typing<3.0.0,>=2.0.0
Using cached eth_typing-2.3.0-py3-none-any.whl (6.2 kB)
Collecting eth-utils<2.0.0,>=1.9.5
Using cached eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting hexbytes<1.0.0,>=0.1.0
Using cached hexbytes-0.3.0-py3-none-any.whl (6.4 kB)
Collecting ipfshttpclient==0.8.0a2
Using cached ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
Collecting jsonschema<5,>=3.2.0
Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB)
Collecting lru-dict<2.0.0,>=1.1.6
Using cached lru-dict-1.1.8.tar.gz (10 kB)
Preparing metadata (setup.py) ... done
Collecting protobuf==3.19.5
Using cached protobuf-3.19.5-py2.py3-none-any.whl (162 kB)
Collecting requests<3.0.0,>=2.16.0
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting websockets<10,>=9.1
Using cached websockets-9.1-cp311-cp311-win_amd64.whl
Requirement already satisfied: pywin32>=223 in c:\users\pavlo\appdata\local\programs\python\python311\lib\site-packages (from web3) (305)
Collecting multiaddr>=0.0.7
Using cached multiaddr-0.0.9-py2.py3-none-any.whl (16 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting charset-normalizer<3.0,>=2.0
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.4-cp311-cp311-win_amd64.whl (28 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.2-cp311-cp311-win_amd64.whl (55 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.3-cp311-cp311-win_amd64.whl (32 kB)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting parsimonious<0.9.0,>=0.8.0
Using cached parsimonious-0.8.1-py3-none-any.whl
Collecting bitarray<3,>=1.2.1
Using cached bitarray-2.6.1-cp311-cp311-win_amd64.whl (107 kB)
Collecting eth-keyfile<0.6.0,>=0.5.0
Using cached eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting eth-keys<0.4.0,>=0.3.4
Using cached eth_keys-0.3.4-py3-none-any.whl (21 kB)
Collecting rlp<3,>=1.0.0
Using cached rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting pycryptodome<4,>=3.6.6
Using cached pycryptodome-3.16.0-cp35-abi3-win_amd64.whl (1.7 MB)
Collecting eth-utils<2.0.0,>=1.9.5
Using cached eth_utils-1.9.5-py3-none-any.whl (23 kB)
Collecting cytoolz<1.0.0,>=0.10.1
Using cached cytoolz-0.12.1-cp311-cp311-win_amd64.whl (315 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.19.2-py3-none-any.whl (57 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting toolz>=0.8.0
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Requirement already satisfied: varint in c:\users\pavlo\appdata\local\programs\python\python311\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (1.0.2)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting base58
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Requirement already satisfied: netaddr in c:\users\pavlo\appdata\local\programs\python\python311\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (0.8.0)
Building wheels for collected packages: lru-dict
Building wheel for lru-dict (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
running build
running build_ext
building 'lru' extension
creating build
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Pavlo\AppData\Loc
al\Programs\Python\Python311\include -IC:\Users\Pavlo\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tclru.c /Fobuild\temp.win-amd64-cpython-311\Release\lru.obj
lru.c
C:\Users\Pavlo\AppData\Local\Programs\Python\Python311\include\pyconfig.h(59): fatal error C1083: ?? ??????? ??????? ???? ?????????: io.h: No such file or directory,
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lru-dict
Running setup.py clean for lru-dict
Failed to build lru-dict
Installing collected packages: lru-dict, bitarray, websockets, urllib3, toolz, six, pyrsistent, pycryptodome, protobuf, multidict, idna, hexbytes, frozenlist, eth-typing, eth-hash, cha
rset-normalizer, certifi, base58, attrs, async-timeout, yarl, requests, parsimonious, multiaddr, jsonschema, cytoolz, aiosignal, ipfshttpclient, eth-utils, aiohttp, rlp, eth-keys, eth-abi, eth-rlp, eth-keyfile, eth-account, web3
Running setup.py install for lru-dict ... error
error: subprocess-exited-with-error
× Running setup.py install for lru-dict did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running install
C:\Users\Pavlo\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
building 'lru' extension
creating build
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Pavlo\AppData\Loc
al\Programs\Python\Python311\include -IC:\Users\Pavlo\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tclru.c /Fobuild\temp.win-amd64-cpython-311\Release\lru.obj
lru.c
C:\Users\Pavlo\AppData\Local\Programs\Python\Python311\include\pyconfig.h(59): fatal error C1083: ?? ??????? ??????? ???? ?????????: io.h: No such file or directory,
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lru-dict
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
(venv) C:\Users\Pavlo\PycharmProjects\pythonProject>pip list
Package Version
---------- -------
docopt 0.6.2
gram 0.2.1
netaddr 0.8.0
pip 22.3.1
pywin32 305
setuptools 65.5.0
varint 1.0.2
wheel 0.38.4
(venv) C:\Users\Pavlo\PycharmProjects\pythonProject>
вот какая-то ошибка