python pip - V points to old version of python - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: python pip - V points to old version of python (/thread-6102.html) |
python pip - V points to old version of python - metalray - Nov-06-2017 Dear Python Experts, When I run pip -V in my virtual environment I read: (env_python36) C:\Users\myuser\Downloads\iwt_django36\iwt_django\iwt_django\env _python36>pip -V pip 7.1.2 from c:\program files\python35\lib\site-packages (python 3.5) I use Windows 10 and have installed Python 3.6 in C:\Users\myuser\AppData\Local\Programs\Python\Python36\python.exe How can I point to the new version of Python? RE: python pip - V points to old version of python - Larz60+ - Nov-06-2017 When you installed python 3.6 there was an option to update environment path. In my opinion, the option should be the other way around, asking if you would like to forgo updating environment. The safest way to correct this is to reinstall. see: https://python-forum.io/Thread-Basic-Part-1-Python-3-6-and-pip-installation-under-Windows If you are comfortable with changing environmental variables, you can change the path (just change the 3.5 path to 3.6). If you don't know how to do this, don't try, you could mess up your whole system. RE: python pip - V points to old version of python - sparkz_alot - Nov-06-2017 If you're only concerned about pip, use pip install --upgrade pip from the command prompt.
RE: python pip - V points to old version of python - metalray - Nov-06-2017 Many thanks for the replies. @ [b]Larz60+[/b] , how do I change the environmental variable, I could not find one that refers to python_home or anything. @sparkz_alot, Good idea, but my network does not allow a download. I would need to find the wheel. RE: python pip - V points to old version of python - metulburr - Nov-06-2017 you should be able to do identify which python version via py -3.6 -m pip install requests py -3.5 -m pip install requests or you can call direct path to that python versions pip /path/to/python.exe -m pip install request Here is a step by step process of installing python with pip and path https://python-forum.io/Thread-Basic-Part-1-Python-3-6-and-pip-installation-under-Windows RE: python pip - V points to old version of python - metalray - Nov-06-2017 Awesom, thanks [b]metulburr[/b] ! |