Whenever I create a venv, I get a message asking me to upgrade pip. I run the command for upgrade, and it pops up again on another venv. How can I make this permanent.
Message:
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Update: Just received recommendation to read this possible duplicate answer: virtualenv use upgraded system default pip
This does not solve my issue though. Why?
My pip3 appears to already be up to date:
C:\Users\mkupfer\Python-Sandbox\sibc-python-scripts>pip --version
pip 18.0 from c:\users\mkupfer\appdata\local\programs\python\python36-32\lib\sit
e-packages\pip (python 3.6)
C:\Users\mkupfer\Python-Sandbox\sibc-python-scripts>pip3 --version
pip 18.0 from c:\users\mkupfer\appdata\local\programs\python\python36-32\lib\sit
e-packages\pip (python 3.6)
C:\Users\mkupfer\Python-Sandbox\sibc-python-scripts>pip3 install --upgrade pip
Requirement already up-to-date: pip in c:\users\mkupfer\appdata\local\programs\p
ython\python36-32\lib\site-packages (18.0)
Solved
Solution: I was able to fix this altogether by using virtualenv to create a new virtual environment. Not sure if this is a bug in venv. I'll just use the package that works going forward. Thanks @James Lim for the answer.
pip? And where is the message appearing?pipmay need to be updated in your venv, but you're trying to update in another enviornment - GetHacked