Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brownie installation on macOS failing #313

Open
sabbir883 opened this issue Nov 4, 2021 · 1 comment
Open

Brownie installation on macOS failing #313

sabbir883 opened this issue Nov 4, 2021 · 1 comment

Comments

@sabbir883
Copy link

sabbir883 commented Nov 4, 2021

I tried to install brownie using pipx but it failed on macOS. Then I installed using using pip install eth-brownie. Installation seems to be successful however when I start brownie I get below error. Please note I am using a M1 mac.

ImportError: dlopen(/Users/sabbir/Solidity/smart_contract_venv/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so, 0x0002): tried: '/Users/sabbir/Solidity/smart_contract_venv/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so' (code signature in <999D73A8-1E7A-391A-B219-191ECB5B4270> '/Users/sabbir/Solidity/smart_contract_venv/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so' not valid for use in process: Trying to load an unsigned library), '/usr/local/lib/_regex.cpython-38-darwin.so' (no such file), '/usr/lib/_regex.cpython-38-darwin.so' (no such file)

@sabbir883
Copy link
Author

pip install regex==2021.10.21 seems to have resolved the issue. source: psf/black#2524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant