- Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Installing brownie has been a difficult task till now.
Encountering multiple issues when installing brownie, both via pipx and via pip in venv.
I have uninstalled and reinstalled all packages but not making progress in successfully installing Brownie when using studio code. Below is one of the many errors. Please advise.
When trying to install eth-brownie in venv
Traceback (most recent call last): File "/Users/ic/demos/brownie_simple_storage/brownie-env/bin/brownie", line 33, in <module> sys.exit(load_entry_point('eth-brownie==1.19.3', 'console_scripts', 'brownie')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ic/demos/brownie_simple_storage/brownie-env/bin/brownie", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/Users/ic/demos/brownie_simple_storage/brownie-env/lib/python3.11/site-packages/eth_brownie-1.19.3-py3.11.egg/brownie/__init__.py", line 6, in <module> from brownie.project import compile_source, run File "/Users/ic/demos/brownie_simple_storage/brownie-env/lib/python3.11/site-packages/eth_brownie-1.19.3-py3.11.egg/brownie/project/__init__.py", line 3, in <module> from .main import ( # NOQA 401 File "/Users/ic/demos/brownie_simple_storage/brownie-env/lib/python3.11/site-packages/eth_brownie-1.19.3-py3.11.egg/brownie/project/main.py", line 19, in <module> import requests ModuleNotFoundError: No module named 'requests' (brownie-env) ishas-Air:brownie ic$ brownie --version Traceback (most recent call last): File "/Users/ic/demos/brownie_simple_storage/brownie-env/bin/brownie", line 33, in <module> sys.exit(load_entry_point('eth-brownie==1.19.3', 'console_scripts', 'brownie')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ic/demos/brownie_simple_storage/brownie-env/bin/brownie", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/Users/ic/demos/brownie_simple_storage/brownie-env/lib/python3.11/site-packages/eth_brownie-1.19.3-py3.11.egg/brownie/__init__.py", line 6, in <module> from brownie.project import compile_source, run File "/Users/ic/demos/brownie_simple_storage/brownie-env/lib/python3.11/site-packages/eth_brownie-1.19.3-py3.11.egg/brownie/project/__init__.py", line 3, in <module> from .main import ( # NOQA 401 File "/Users/ic/demos/brownie_simple_storage/brownie-env/lib/python3.11/site-packages/eth_brownie-1.19.3-py3.11.egg/brownie/project/main.py", line 19, in <module> import requests ModuleNotFoundError: No module named 'requests' When installing eth-brownie using pipx
Fatal error from pip prevented installation. Full pip output in file: /Users/ic/Library/Logs/pipx/cmd_2023-12-18_14.12.16_pip_errors.log pip seemed to fail to build package: cytoolz==0.12.0 Some possibly relevant errors from pip install: error: subprocess-exited-with-error InternalError: Internal compiler error: Previous declaration is here Cython.Compiler.Errors.CompileError: cytoolz/functoolz.pyx Error installing eth-brownie Metadata
Metadata
Assignees
Labels
No labels