Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

ImportError: cannot import name blocks #257

Open
yuyuyuyuyuyuyuyuyu opened this issue Sep 14, 2017 · 3 comments
Open

ImportError: cannot import name blocks #257

yuyuyuyuyuyuyuyuyu opened this issue Sep 14, 2017 · 3 comments

Comments

@yuyuyuyuyuyuyuyuyu
Copy link

$ pyethapp run
Traceback (most recent call last):
File "/usr/local/bin/pyethapp", line 7, in
from pyethapp.app import app
File "/usr/local/lib/python2.7/dist-packages/pyethapp/app.py", line 19, in
from ethereum import blocks
ImportError: cannot import name blocks

@adithyabhatkajake
Copy link

Installing [ethereum==1.6.0] in pip solved this for me.

@rainysiu
Copy link

from ethereum import blocks

ImportError: cannot import name blocks

how to solve this problem?

@MareoRaft
Copy link

MareoRaft commented Jan 19, 2018

Yes, sudo python2.7 /usr/local/bin/pip install ethereum==1.6.0 solved this problem for me too, although it brings up a similar error now: ImportError: No module named tinyrpc.protocols.jsonrpc. Not to mention that the current version of ethereum is 2.3.0, so 1.6.0 feels quite old.

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

No branches or pull requests

4 participants