Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

pip install -r global-requirements.txt fails #23

Open
M425 opened this issue Sep 5, 2015 · 3 comments
Open

pip install -r global-requirements.txt fails #23

M425 opened this issue Sep 5, 2015 · 3 comments

Comments

@M425
Copy link

M425 commented Sep 5, 2015

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

@lukego
Copy link

lukego commented Oct 12, 2015

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?)

@ciarancourtney
Copy link

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

RUN pip install -U pip

@ewindisch
Copy link
Owner

Thanks. Please make a pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants