dockenstack icon indicating copy to clipboard operation
dockenstack copied to clipboard

pip install -r global-requirements.txt fails

Open M425 opened this issue 8 years ago • 3 comments

I got this issue due the deprecated version of pip:

ValueError: ("Expected ',' or end-of-list in", "dnspython>=1.12.0;python_version<'3.0'", 'at', ";python_version<'3.0'")

due this line of the global-requirements.txt:

...
dnspython>=1.12.0;python_version<'3.0'
...

I checked the current pip version and it was 1.5.4, then I removed the python-pip package and installed pip manually (upgrading the apt-get package pip with apt-get upgrade python-pip or pip install -U pip didn't work) and then it works

M425 avatar Sep 05 '15 09:09 M425

I have the same problem now. Could you please explain the workaround in more detail so that I can try it too? (a diff of your Dockerfile perhaps?)

lukego avatar Oct 12 '15 22:10 lukego

Just add this to the DockerFile after the "RUN apt-get install -q -y python-pip" line

RUN pip install -U pip

ciarancourtney avatar Oct 26 '15 15:10 ciarancourtney

Thanks. Please make a pull request.

ewindisch avatar Apr 26 '16 14:04 ewindisch