dockenstack
dockenstack copied to clipboard
pip install -r global-requirements.txt fails
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
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?)
Just add this to the DockerFile after the "RUN apt-get install -q -y python-pip" line
RUN pip install -U pip
Thanks. Please make a pull request.