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

hydrachain installation problem #55

Open
ripulbd opened this issue Mar 8, 2016 · 2 comments
Open

hydrachain installation problem #55

ripulbd opened this issue Mar 8, 2016 · 2 comments

Comments

@ripulbd
Copy link

ripulbd commented Mar 8, 2016

Hi,

I am trying to install the hydrachain in my ubuntu desktop. It does not seem to install and it aborts with the following error messages:


Linking /tmp/easy_install-9Px6h2/gevent-1.1b3/build/lib.linux-x86_64-2.7/gevent/_util.so to /tmp/easy_install-9Px6h2/gevent-1.1b3/gevent/_util.so
File "build/bdist.linux-x86_64/egg/gevent/_socket3.py", line 164
def makefile(self, mode="r", buffering=None, *,
^
SyntaxError: invalid syntax

creating /usr/local/lib/python2.7/dist-packages/gevent-1.1b3-py2.7-linux-x86_64.egg
Extracting gevent-1.1b3-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
File "/usr/local/lib/python2.7/dist-packages/gevent-1.1b3-py2.7-linux-x86_64.egg/gevent/_socket3.py", line 164
def makefile(self, mode="r", buffering=None, *,
^
SyntaxError: invalid syntax

Adding gevent 1.1b3 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/gevent-1.1b3-py2.7-linux-x86_64.egg
error: gevent 1.1b3 is installed but gevent==1.1rc3 is required by set(['devp2p'])


I installed the gevent==1.1rc3 to resolve the issue with no success.

Any idea why it might happen?

Thanks in advance,
Ripul

@ezdac
Copy link
Contributor

ezdac commented Mar 8, 2016

It's a dependency collision with pyethapp,which is why the gevent 1.1b3 gets installed even if you reinstalled the desired version for hydrachain.
If time is pressing, a workaround here would be to pull pyethapp and change the requirements.txt to gevent==1.1rc3 and then install pyethapp inside your python installation/environment via the python setup.py develop command.
Proceed with caution, because this could introduce problems in pyethapp and be aware that it changes the way pyethapp is referenced inside of your site-packages (check pip list before and after).
As always, this is highly recommended inside a virtualenv(+wrapper).
This will work natively without the hassle, once this is evaluated and the requirements are changed.
For other questions, please also check the gitter-channel

@ripulbd
Copy link
Author

ripulbd commented Mar 9, 2016

Many thanks for the suggestion. It seems to have resolved the issue.

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