0
Use command python -m pip install -r requirements.txt
-r means to read from the file
but not able to understand why it was showing to upgrade.
It showing you might wish to upgrade because your version of pip is old. pip
receives upgrades like any other package. If you use multiple installations of Python (e.g. Python 2.7 and Python 3.x), each Python version has its own version of pip
that may need to be upgraded. – Anaksunaman – 2018-06-28T07:46:57.457
@Anaksunaman you can see screenshot that it is already upgraded. – Rohit Potter – 2018-06-28T07:50:11.953
In your screenshots, py -2.7 -m pip
shows an outdated pip and python -m pip
shows it's up to date, these are two different Pythons. What does py -2.7 -m pip install --upgrade pip
return? – hoefling – 2018-06-28T14:27:35.813
@hoefling I am getting some exception and this "You are using pip version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command." – Rohit Potter – 2018-06-28T15:08:03.173
Copy the exception from the terminal and add it to the question. – hoefling – 2018-06-28T16:24:01.017
2
py -2.7
may not be the same Python aspython
. – Kevin – 2018-06-28T05:23:58.190