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

ImportError with web3-5.0.0a7 #1285

Closed
Amxx opened this issue Mar 16, 2019 · 1 comment
Closed

ImportError with web3-5.0.0a7 #1285

Amxx opened this issue Mar 16, 2019 · 1 comment

Comments

@Amxx
Copy link

Amxx commented Mar 16, 2019

I tried moving to toward 5.0.0a7. I made a fresh install with

sudo pip uninstall web3
sudo pip install git+https://github.com/ethereum/web3.py.git

Once the install done, I have an error when importing web3

ImportError: cannot import name 'collapse_if_tuple' from 'eth_utils.abi' (/usr/lib/python3.7/site-packages/eth_utils/abi.py)
@kclowes
Copy link
Collaborator

kclowes commented Mar 16, 2019

@Amxx you probably need to update eth-utils. It looks like collapse_if_tuple was added in 1.4.0. I should probably update the requirement in setup.py though. Thanks!

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

2 participants