brownie
brownie copied to clipboard
Cant install brownie on windows any help would be great
PS C:\Users\M\Documents\NFT testing> python -m pip install eth-brownie
Defaulting to user installation because normal site-packages is not writeable
Collecting eth-brownie
Using cached eth_brownie-1.17.2-py3-none-any.whl (221 kB)
Collecting hypothesis==6.27.3
Using cached hypothesis-6.27.3-py3-none-any.whl (384 kB)
Collecting psutil==5.8.0
Using cached psutil-5.8.0-cp39-cp39-win_amd64.whl (246 kB)
Collecting mypy-extensions==0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting pytest-forked==1.3.0
Using cached pytest_forked-1.3.0-py2.py3-none-any.whl (4.7 kB)
Collecting lazy-object-proxy==1.6.0
Using cached lazy_object_proxy-1.6.0-cp39-cp39-win_amd64.whl (22 kB)
Collecting pathspec==0.9.0
Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
Requirement already satisfied: toolz==0.11.2 in c:\users\m\appdata\roaming\python\python39\site-packages (from eth-brownie) (0.11.2)
Collecting aiohttp==3.8.1
Using cached aiohttp-3.8.1-cp39-cp39-win_amd64.whl (554 kB)
Collecting tomli==1.2.2
Using cached tomli-1.2.2-py3-none-any.whl (12 kB)
Collecting netaddr==0.8.0
Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Collecting eth-utils==1.10.0
Using cached eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting semantic-version==2.8.5
Using cached semantic_version-2.8.5-py2.py3-none-any.whl (15 kB)
Collecting mythx-models==1.9.1
Using cached mythx_models-1.9.1-py2.py3-none-any.whl (82 kB)
Collecting py-solc-ast==1.2.9
Using cached py_solc_ast-1.2.9-py3-none-any.whl (10 kB)
Collecting asynctest==0.13.0
Using cached asynctest-0.13.0-py3-none-any.whl (26 kB)
Collecting charset-normalizer==2.0.9
Using cached charset_normalizer-2.0.9-py3-none-any.whl (39 kB)
Collecting pytest-xdist==1.34.0
Using cached pytest_xdist-1.34.0-py2.py3-none-any.whl (36 kB)
Collecting python-dotenv==0.16.0
Using cached python_dotenv-0.16.0-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: eth-typing==2.2.2 in c:\users\m\appdata\roaming\python\python39\site-packages (from eth-brownie) (2.2.2)
Collecting py==1.11.0
Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting asttokens==2.0.5
Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Collecting wrapt==1.13.3
Using cached wrapt-1.13.3-cp39-cp39-win_amd64.whl (34 kB)
Collecting eth-keys==0.3.3
Using cached eth_keys-0.3.3-py3-none-any.whl (20 kB)
Collecting wcwidth==0.2.5
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting requests==2.26.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting attrs==21.2.0
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting prompt-toolkit==3.0.23
Using cached prompt_toolkit-3.0.23-py3-none-any.whl (374 kB)
Collecting rlp==2.0.1
Using cached rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting python-dateutil==2.8.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting py-solc-x==1.1.1
Using cached py_solc_x-1.1.1-py3-none-any.whl (15 kB)
Collecting pycryptodome==3.12.0
Using cached pycryptodome-3.12.0-cp35-abi3-win_amd64.whl (1.8 MB)
Collecting multidict==5.2.0
Using cached multidict-5.2.0-cp39-cp39-win_amd64.whl (45 kB)
Collecting pyyaml==5.4.1
Using cached PyYAML-5.4.1-cp39-cp39-win_amd64.whl (213 kB)
Requirement already satisfied: urllib3==1.26.7 in c:\users\m\appdata\roaming\python\python39\site-packages (from eth-brownie) (1.26.7)
Collecting vyper==0.3.1
Using cached vyper-0.3.1-py3-none-any.whl (241 kB)
Collecting aiosignal==1.2.0
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Requirement already satisfied: eth-hash[pycryptodome]==0.3.2 in c:\users\m\appdata\roaming\python\python39\site-packages (from eth-brownie) (0.3.2)
Collecting click==8.0.3
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting iniconfig==1.1.1
Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting pyrsistent==0.18.0
Using cached pyrsistent-0.18.0-cp39-cp39-win_amd64.whl (62 kB)
Collecting regex==2021.11.10
Using cached regex-2021.11.10-cp39-cp39-win_amd64.whl (273 kB)
Collecting parsimonious==0.8.1
Using cached parsimonious-0.8.1-py3-none-any.whl
Collecting idna==3.3
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting sortedcontainers==2.4.0
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting six==1.16.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting vvm==0.1.0
Using cached vvm-0.1.0-py3-none-any.whl (11 kB)
Collecting pygments==2.10.0
Using cached Pygments-2.10.0-py3-none-any.whl (1.0 MB)
Collecting cytoolz==0.11.2
Using cached cytoolz-0.11.2.tar.gz (481 kB)
Preparing metadata (setup.py) ... done
Collecting eip712==0.1.0
Using cached eip712-0.1.0-py3-none-any.whl (13 kB)
Collecting pyjwt==1.7.1
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting typed-ast==1.5.1
Using cached typed_ast-1.5.1-cp39-cp39-win_amd64.whl (165 kB)
Collecting dataclassy==0.11.1
Using cached dataclassy-0.11.1-py3-none-any.whl (23 kB)
Collecting zipp==3.6.0
Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting ipfshttpclient==0.8.0a2
Using cached ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
Collecting pytest==6.2.5
Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
Collecting varint==1.0.2
Using cached varint-1.0.2-py3-none-any.whl
Collecting web3==5.25.0
Using cached web3-5.25.0-py3-none-any.whl (485 kB)
Collecting eth-event==1.2.3
Using cached eth_event-1.2.3-py3-none-any.whl (7.3 kB)
Collecting inflection==0.5.0
Using cached inflection-0.5.0-py2.py3-none-any.whl (5.8 kB)
Collecting black==21.11b1
Using cached black-21.11b1-py3-none-any.whl (155 kB)
Collecting pluggy==1.0.0
Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting yarl==1.7.2
Using cached yarl-1.7.2-cp39-cp39-win_amd64.whl (122 kB)
Collecting platformdirs==2.4.0
Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting lru-dict==1.1.7
Using cached lru-dict-1.1.7.tar.gz (10 kB)
Preparing metadata (setup.py) ... done
Collecting bitarray==1.2.2
Using cached bitarray-1.2.2.tar.gz (48 kB)
Preparing metadata (setup.py) ... done
Collecting execnet==1.9.0
Using cached execnet-1.9.0-py2.py3-none-any.whl (39 kB)
Collecting packaging==21.3
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting base58==2.1.1
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting hexbytes==0.2.2
Using cached hexbytes-0.2.2-py3-none-any.whl (6.1 kB)
Collecting frozenlist==1.2.0
Using cached frozenlist-1.2.0-cp39-cp39-win_amd64.whl (83 kB)
Collecting cached-property==1.5.2
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting importlib-metadata==4.8.2
Using cached importlib_metadata-4.8.2-py3-none-any.whl (17 kB)
Collecting jsonschema==3.2.0
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting typing-extensions==3.10.0.2
Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting eth-rlp==0.2.1
Using cached eth_rlp-0.2.1-py3-none-any.whl (5.0 kB)
Collecting pythx==1.6.1
Using cached pythx-1.6.1-py2.py3-none-any.whl (39 kB)
Collecting websockets==9.1
Using cached websockets-9.1-cp39-cp39-win_amd64.whl (90 kB)
Collecting eth-account==0.5.6
Using cached eth_account-0.5.6-py3-none-any.whl (101 kB)
Collecting tqdm==4.62.3
Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Collecting eth-abi==2.1.1
Using cached eth_abi-2.1.1-py3-none-any.whl (27 kB)
Collecting eth-keyfile==0.5.1
Using cached eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting certifi==2021.10.8
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting multiaddr==0.0.9
Using cached multiaddr-0.0.9-py2.py3-none-any.whl (16 kB)
Collecting async-timeout==4.0.1
Using cached async_timeout-4.0.1-py3-none-any.whl (5.7 kB)
Collecting protobuf==3.19.1
Using cached protobuf-3.19.1-cp39-cp39-win_amd64.whl (895 kB)
Collecting pygments-lexer-solidity==0.7.0
Using cached pygments_lexer_solidity-0.7.0-py3-none-any.whl
Collecting pyparsing==3.0.6
Using cached pyparsing-3.0.6-py3-none-any.whl (97 kB)
Collecting toml==0.10.2
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: colorama in c:\users\m\appdata\roaming\python\python39\site-packages (from click==8.0.3->eth-brownie) (0.4.4)
Requirement already satisfied: setuptools in c:\users\m\appdata\roaming\python\python39\site-packages (from jsonschema==3.2.0->eth-brownie) (60.3.1)
Collecting atomicwrites>=1.0
Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting pywin32>=223
Using cached pywin32-303-cp39-cp39-win_amd64.whl (9.3 MB)
Building wheels for collected packages: bitarray, cytoolz, lru-dict
Building wheel for bitarray (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\bitarray_3da8d77dab6b41ada2f6bacbe425e628\setup.py'"'"'; file='"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\bitarray_3da8d77dab6b41ada2f6bacbe425e628\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\M\AppData\Local\Temp\pip-wheel-12j6kfr6'
cwd: C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\bitarray_3da8d77dab6b41ada2f6bacbe425e628
Complete output (60 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
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\bitarray_3da8d77dab6b41ada2f6bacbe425e628\setup.py", line 18, in
setup(
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\core.py", line 148, in setup
return run_commands(dist)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\core.py", line 163, in run_commands
dist.run_commands()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\command\build_ext.py", line 79, in run
_build_ext.run(self)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\command\build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 327, in compile
self.initialize()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 224, in initialize
vc_env = _get_vc_env(plat_spec)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 316, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 270, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
setuptools._distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
self.build_extension(ext) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\command\build_ext.py", line 202, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 528, in build_extension objects = self.compiler.compile(sources, File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 327, in compile self.initialize() File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 224, in initialize vc_env = _get_vc_env(plat_spec) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 316, in msvc14_get_vc_env return _msvc14_get_vc_env(plat_spec) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 270, in _msvc14_get_vc_env raise distutils.errors.DistutilsPlatformError( setuptools._distutils.errors.DistutilsPlatformError: 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 bitarray
Running setup.py clean for bitarray
Building wheel for cytoolz (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229\setup.py'"'"'; file='"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229\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\M\AppData\Local\Temp\pip-wheel-77axcknw'
cwd: C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229
Complete output (52 lines):
[1/5] Cythonizing cytoolz/utils.pyx
[2/5] Cythonizing cytoolz/dicttoolz.pyx
[3/5] Cythonizing cytoolz/functoolz.pyx
[4/5] Cythonizing cytoolz/itertoolz.pyx
[5/5] Cythonizing cytoolz/recipes.pyx
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\cytoolz
copying cytoolz\compatibility.py -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_signatures.py -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_version.py -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_init_.py -> build\lib.win-amd64-3.9\cytoolz
creating build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\curried\exceptions.py -> build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\curried\operator.py -> build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\curried_init_.py -> build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\dicttoolz.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\functoolz.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\itertoolz.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\recipes.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\utils.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\cpython.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\dicttoolz.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\functoolz.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\itertoolz.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\recipes.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\utils.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_init_.pxd -> build\lib.win-amd64-3.9\cytoolz
creating build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_compatibility.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_curried.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_curried_toolzlike.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_dicttoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_docstrings.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_doctests.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_embedded_sigs.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_functoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_inspect_args.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_itertoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_none_safe.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_recipes.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_serialization.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_signatures.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_tlz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_utils.py -> build\lib.win-amd64-3.9\cytoolz\tests
running build_ext
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 cytoolz
Running setup.py clean for cytoolz
Building wheel for lru-dict (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\lru-dict_2fe871920ceb4e4a87a14bf6d59d27aa\setup.py'"'"'; file='"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\lru-dict_2fe871920ceb4e4a87a14bf6d59d27aa\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\M\AppData\Local\Temp\pip-wheel-4pgeeldn'
cwd: C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\lru-dict_2fe871920ceb4e4a87a14bf6d59d27aa
Complete output (54 lines):
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\lru-dict_2fe871920ceb4e4a87a14bf6d59d27aa\setup.py", line 6, in
setup (name = 'lru-dict',
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_init_.py", line 155, in setup
return distutils.core.setup(**attrs)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\core.py", line 148, in setup
return run_commands(dist)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\core.py", line 163, in run_commands
dist.run_commands()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\command\build_ext.py", line 79, in run
_build_ext.run(self)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\command\build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 327, in compile
self.initialize()
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 224, in initialize
vc_env = _get_vc_env(plat_spec)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 316, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 270, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
setuptools._distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
self.build_extension(ext) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\command\build_ext.py", line 202, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils\command\build_ext.py", line 528, in build_extension objects = self.compiler.compile(sources, File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 327, in compile self.initialize() File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools_distutils_msvccompiler.py", line 224, in initialize vc_env = _get_vc_env(plat_spec) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 316, in msvc14_get_vc_env return _msvc14_get_vc_env(plat_spec) File "C:\Users\M\AppData\Roaming\Python\Python39\site-packages\setuptools\msvc.py", line 270, in _msvc14_get_vc_env raise distutils.errors.DistutilsPlatformError( setuptools._distutils.errors.DistutilsPlatformError: 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 lru-dict
Running setup.py clean for lru-dict
Failed to build bitarray cytoolz lru-dict
Installing collected packages: cytoolz, six, pyparsing, eth-utils, varint, typing-extensions, toml, rlp, pyrsistent, pycryptodome, py, pluggy, parsimonious, packaging, netaddr, multidict, iniconfig, idna, hexbytes, frozenlist, eth-keys, charset-normalizer, certifi, base58, attrs, atomicwrites, yarl, requests, python-dateutil, pytest, multiaddr, jsonschema, inflection, eth-rlp, eth-keyfile, eth-abi, bitarray, async-timeout, aiosignal, zipp, websockets, wcwidth, tomli, sortedcontainers, semantic-version, regex, pywin32, pytest-forked, pyjwt, pygments, protobuf, platformdirs, pathspec, mythx-models, mypy-extensions, lru-dict, ipfshttpclient, execnet, eth-account, dataclassy, click, asttokens, aiohttp, wrapt, web3, vyper, vvm, typed-ast, tqdm, pyyaml, pythx,
python-dotenv, pytest-xdist, pygments-lexer-solidity, py-solc-x, py-solc-ast, psutil, prompt-toolkit, lazy-object-proxy, importlib-metadata, hypothesis,
eth-event, eip712, cached-property, black, asynctest, eth-brownie
Running setup.py install for cytoolz ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229\setup.py'"'"'; file='"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229\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\M\AppData\Local\Temp\pip-record-ds__sdjk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\M\AppData\Roaming\Python\Python39\Include\cytoolz'
cwd: C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229
Complete output (54 lines):
[1/5] Cythonizing cytoolz/utils.pyx
[2/5] Cythonizing cytoolz/dicttoolz.pyx
[3/5] Cythonizing cytoolz/functoolz.pyx
[4/5] Cythonizing cytoolz/itertoolz.pyx
[5/5] Cythonizing cytoolz/recipes.pyx
running install
C:\Users\M\AppData\Roaming\Python\Python39\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_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\cytoolz
copying cytoolz\compatibility.py -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_signatures.py -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_version.py -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_init_.py -> build\lib.win-amd64-3.9\cytoolz
creating build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\curried\exceptions.py -> build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\curried\operator.py -> build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\curried_init_.py -> build\lib.win-amd64-3.9\cytoolz\curried
copying cytoolz\dicttoolz.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\functoolz.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\itertoolz.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\recipes.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\utils.pyx -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\cpython.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\dicttoolz.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\functoolz.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\itertoolz.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\recipes.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz\utils.pxd -> build\lib.win-amd64-3.9\cytoolz
copying cytoolz_init_.pxd -> build\lib.win-amd64-3.9\cytoolz
creating build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_compatibility.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_curried.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_curried_toolzlike.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_dicttoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_docstrings.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_doctests.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_embedded_sigs.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_functoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_inspect_args.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_itertoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_none_safe.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_recipes.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_serialization.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_signatures.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_tlz.py -> build\lib.win-amd64-3.9\cytoolz\tests
copying cytoolz\tests\test_utils.py -> build\lib.win-amd64-3.9\cytoolz\tests
running build_ext
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-builduild-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"
'"'"'C:\Users\M\AppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229\setup.py'"'"'; file='"'"'C:\Users\M\Ata\ppData\Local\Temp\pip-install-q_ldyhdb\cytoolz_52a100525e574ce5b73b36ec8999b229\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(files.pa) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'";exe');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\M\AppData\Local\Temp\pip-record-ds__sdjk\install-record.txt' -exte-single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\M\AppData\Roaming\Python\Python39\Include\cytoolz' Check thand e logs for full command output.
@mattyha it looks like you need to install visual cpp build tools as there are some wheels that need to be compiled, have you tried following the link that is is in the error?
If you get an error with something like:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools"
You’ll have to do the following:
Download and install the Build Tools for Visual Studio, and then install the C++ build tools. Once installed, run the following command in your terminal. Here is a video tutorial showing you how to install the build tools.
pip install --upgrade setuptools