PyGrid-deprecated---see-PySyft- icon indicating copy to clipboard operation
PyGrid-deprecated---see-PySyft- copied to clipboard

Error while building Docker image requirements for app/websocket

Open DanyEle opened this issue 7 years ago • 3 comments

When running the following command:

sudo docker build -t node ./app/websocket/

I get this error:

error_grid

In phase (6), when installing requirements.

However, when running

pip3 install -r app/websocket/requirements.txt

I do not get any issues.

I tried to look online for different solutions related to installing the psycopg2 library manually from source and from the package manager, but none of them worked. The issue just occurs when installing the docker image.

OS: Ubuntu 18.04 LTS

DanyEle avatar Sep 11 '19 19:09 DanyEle

It looks like replacing psycopg2 with psycopg2-binary in the app/websocket/requirements.txt file seems to fix it.

DanyEle avatar Sep 12 '19 12:09 DanyEle

Also, I'm getting another error:

ERROR: torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.

The PR I opened should this fix issue too.

DanyEle avatar Sep 12 '19 12:09 DanyEle

Fixed #301

IonesioJunior avatar Sep 21 '19 01:09 IonesioJunior