Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5952

How to fix executor failed running [/bin/sh -c pip install --upgrade --force-reinstall pip==9.0.3 && pip install --upgrade 'setuptools

$
0
0

I am getting this when running a Dockerfile.When I reseted my windows it worked but recently I deleted all docker containers and when I tried to build from the Dockerfile again, I got this issue. I can't upgrade pip or do pip install.Here is the Dockerfile.

FROM ubuntu:14.04ENV DEBIAN_FRONTEND noninteractiveENV DOCKER_STATE devRUN apt-get update && apt-get install -y \    python-pip python-dev uwsgi-plugin-python \    nginx supervisor libxml2-dev libxslt1-dev mysql-client \    libldap2-dev libsasl2-dev libffi-dev uwsgi python-mysqldb libmysqlclient-dev \    imagemagick poppler-utils curlRUN pip install --upgrade --force-reinstall pip==9.0.3 && pip install --upgrade 'setuptools<45'

And here is the error I am getting

#7 [ 3/20] RUN pip install --upgrade --force-reinstall pip==9.0.3 && pip install --upgrade 'setuptools<45'#7 sha256:2623dbc50626ca8f0979fcda52fc07d026edc413a5da1187d9d4a1fcae0edfd8#7 0.525 Downloading/unpacking pip==9.0.3#7 1.162   Cannot fetch index base URL https://pypi.python.org/simple/#7 1.740   Could not find any downloads that satisfy the requirement pip==9.0.3#7 1.740 Cleaning up...#7 1.740 No distributions at all found for pip==9.0.3#7 1.742 Storing debug log for failure in /root/.pip/pip.log#7 ERROR: executor failed running [/bin/sh -c pip install --upgrade --force-reinstall pip==9.0.3 && pip install --upgrade 'setuptools<45']: exit code: 1------> [ 3/20] RUN pip install --upgrade --force-reinstall pip==9.0.3 && pip install --upgrade 'setuptools<45':------executor failed running [/bin/sh -c pip install --upgrade --force-reinstall pip==9.0.3 && pip install --upgrade 'setuptools<45']: exit code: 1

Any help will be appreciated


Viewing all articles
Browse latest Browse all 5952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>