Python Forum
Pip apparently installed but unrecognized by CMD
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pip apparently installed but unrecognized by CMD
#11
(Apr-04-2018, 03:44 PM)diegoctn Wrote: I know that I can have 2.7 and 3.6 in the same machine but can I install 3.6 in a machine that has already it?
Yes,is Path as explain over(that can be changes) that set version used from cmd.
In Editors(if not find it automatically) you point to installation(Interpreter setup) Path.
Reply
#12
Hi experts,

I installed python 3 as a new installation but when I run py -m V I retrieve C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe

It looks that it's keeping the first installation. Frustrating.
Reply
#13
Check you environmental settings again and make sure the new Python paths have been included. Since you already have a version of Python installed, you may be required to add a specifier to your commands, i.e python3, python36, python3.6 (try in the command terminal)in order to differentiate between the two.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#14
Go into Environment Variables Path,delete path to Visual Studio python.
Look at image i posted before i have C:\python36 and C:\python36\Scripts as path to my Python.
Restart after this.
Test again from cmd with:
Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. Med enerett.

C:\Windows\System32>cd\

C:\>pip -V
pip 9.0.3 from c:\python36\lib\site-packages (python 3.6)

C:\>python -c "import sys; print(sys.executable)"
C:\python36\python.exe

C:\>
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I cannot understand aliases, apparently Mustey 7 2,882 Aug-29-2019, 07:57 AM
Last Post: buran
  os.path.exists apparently doesn't always work! Larz60+ 2 4,861 Oct-10-2017, 10:16 PM
Last Post: sparkz_alot
  error: unrecognized arguments zafar202 2 40,396 Feb-08-2017, 02:50 PM
Last Post: zafar202

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020