Jan-14-2019, 12:03 PM
each version of python has it's own copy of pip which is designed specifically for that version of python.
this is why the questions about pip -V, etc. which will show the python version it is tied to.
When you install python, you have the option to set up environment variables or not, if you chose not to do so, then pip will be tied to the old version, not the new one.
One way to totally avoid this is to always use virtual environments and pipenv then the problem goes away because each project can have it's own environment, and separate python and pip.
There is a tutorial on how to do this here: https://python-forum.io/Thread-Part-1-Li...3#pid18603
I don't understand why you are having such a problem.
So, a few more questions:
which operating system are you using?
where was python installed?
this is why the questions about pip -V, etc. which will show the python version it is tied to.
When you install python, you have the option to set up environment variables or not, if you chose not to do so, then pip will be tied to the old version, not the new one.
One way to totally avoid this is to always use virtual environments and pipenv then the problem goes away because each project can have it's own environment, and separate python and pip.
There is a tutorial on how to do this here: https://python-forum.io/Thread-Part-1-Li...3#pid18603
I don't understand why you are having such a problem.
So, a few more questions:
which operating system are you using?
where was python installed?