hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
669 stars 735 forks source link

docker compose up fails in pip3 install #2446

Closed tdiesler closed 2 years ago

tdiesler commented 3 years ago

I see this with HEAD and the latest tag v1.16.0

docker compose -f docs/getting-started/docker-compose.yml up
...
 => CACHED [getting-started 2/6] RUN useradd -ms /bin/bash indy                                                                                                                                    0.0s
 => CACHED [getting-started 3/6] RUN apt-get update -y && apt-get install -y  wget  python3.5  python3-pip  python-setuptools  apt-transport-https  ca-certificates  software-properties-common    0.0s
 => CACHED [getting-started 4/6] WORKDIR /home/indy                                                                                                                                                0.0s
 => ERROR [getting-started 5/6] RUN pip3 install -U  pip  ipython-notebook       ipython==7.9  setuptools  jupyter  python3-indy==1.11.0                                                           3.2s
 => CACHED [indy_pool  2/11] RUN apt-get update -y && apt-get install -y  git  wget  python3.5  python3-pip  python-setuptools  python3-nacl  apt-transport-https  ca-certificates  supervisor     0.0s
 => CANCELED [indy_pool  3/11] RUN pip3 install -U  pip==9.0.3  setuptools                                                                                                                         3.2s
------                                                                                                                                                                                                  
 > [getting-started 5/6] RUN pip3 install -U    pip     ipython-notebook       ipython==7.9     setuptools      jupyter         python3-indy==1.11.0:                                                   
#20 1.302 Collecting pip                                                                                                                                                                                
#20 1.463   Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)                                  
#20 2.576 Collecting ipython-notebook                                                                                                                                                                   
#20 2.805   Could not find a version that satisfies the requirement ipython-notebook (from versions: )                                                                                                  
#20 2.823 No matching distribution found for ipython-notebook                                                                                                                                           
#20 3.056 You are using pip version 8.1.1, however version 21.3.1 is available.                                                                                                                         
#20 3.056 You should consider upgrading via the 'pip install --upgrade pip' command.                                                                                                                    
------                                                                                                                                                                                                  
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c pip3 install -U   pip     ipython-notebook       ipython==7.9     setuptools      jupyter         python3-indy==1.11.0]: exit code: 1
tdiesler commented 3 years ago

Thanks @xoryouyou this fixes it.

tdiesler commented 3 years ago

PR https://github.com/hyperledger/indy-sdk/pull/2447

tdiesler commented 2 years ago

PR https://github.com/hyperledger/indy-sdk/pull/2447

tdiesler commented 2 years ago

out of date