You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
When building and running via docker compose, I get the following error
Setting up python-all-dev (2.7.13-2) ...Setting up python-cryptography (1.7.1-3) ...Setting up python-secretstorage (2.3.1-2) ...
Setting up python-keyring (10.1-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Collecting pip
Downloading https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl (1.3MB)
Installing collected packages: pip
Found existing installation: pip 9.0.1
Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pip-10.0.0
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
ERROR: Service 'geoserver' failed to build: The command '/bin/sh -c apt-get update && apt-get -y upgrade && apt-get install -y python python-pip python-dev && chmod +x /usr/local/tomcat/tmp/set_geoserver_auth.sh && chmod +x /usr/local/tomcat/tmp/setup_auth.sh && chmod +x /usr/local/tomcat/tmp/entrypoint.sh && pip install --upgrade pip && pip install -r requirements.txt && chmod +x /usr/local/tomcat/tmp/get_dockerhost_ip.py && chmod +x /usr/local/tomcat/tmp/get_nginxhost_ip.py' returned a non-zero code: 1
However, I was able to fix this issue by using an older version of pip.
Ie. Replacing line 82 in the Dockerfile from && pip install --upgrade pip \
to && pip install --upgrade pip==9.0.3 \
The text was updated successfully, but these errors were encountered:
cjoy
changed the title
Images breaks on PIP version 10.0.0
Breaks on PIP version 10.0.0
Apr 19, 2018
When building and running via docker compose, I get the following error
However, I was able to fix this issue by using an older version of pip.
Ie. Replacing line 82 in the Dockerfile from
&& pip install --upgrade pip \
to
&& pip install --upgrade pip==9.0.3 \
The text was updated successfully, but these errors were encountered: