HydraChain / hydrachain

Permissioned Distributed Ledger based on Ethereum
MIT License
358 stars 105 forks source link

Docker installation problem #59

Open cyclopse87 opened 8 years ago

cyclopse87 commented 8 years ago

Hi

I am following the instructions to install hydrachain using docker. Whilst building using docker-compose build. I am having problems with not being able to find a suitable distribution for devp2p. It seems to be throwing what seems to be a dependency error of pyethapp.

...

Searching for devp2p>=0.7.1
Reading https://pypi.python.org/simple/devp2p/
No local packages or download links found for devp2p>=0.7.1
error: Could not find suitable distribution for Requirement.parse('devp2p>=0.7.1')
Service 'node' failed to build: The command '/bin/sh -c python setup.py install' returned a non-zero code: 1
VirtuOes commented 8 years ago

Hi, I am facing this issue, too. Do you have any suggestions how I could resolve the issue?

System: Virtual machine: Ubunut 64 Bit (15.10).

Exact error message:
Installed /usr/local/lib/python2.7/site-packages/ipython-4.1.2-py2.7.egg
Searching for devp2p>=0.7.1
Reading https://pypi.python.org/simple/devp2p/
No local packages or download links found for devp2p>=0.7.1
error: Could not find suitable distribution for Requirement.parse('devp2p>=0.7.1')
ERROR: Service 'node' failed to build: The command '/bin/sh -c python setup.py install' returned a non-zero code: 1
4gn3s commented 8 years ago

Hello, I'm struggling with the same error on ubuntu 15.10 64bit, with docker 1.11 and docker-compose 1.5.2. Has anyone found a solution yet?

cyclopse87 commented 8 years ago

Wish i could help but couldn't find solution to it

pdobacz commented 8 years ago

ditto on:

user@user:~/hydrachain$ docker-compose --version
docker-compose version 1.6.0rc1, build d2556a1
user@user:~/hydrachain$ docker version
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:54:52 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:54:52 2016
 OS/Arch:      linux/amd64

In case anyone wants to workaround this, I've found that adding:

RUN pip install devp2p

before

RUN python setup.py install

in hydrachain/node/Dockerfile makes the issue go away.

ulope commented 8 years ago

We'll have to re-build the docker example because of changes in docker itself. This is being tracked in #68