Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
windows install py.exe
#2
(Sep-16-2018, 08:31 PM)fulkgl Wrote: Why does the default install put py.exe, pyw.exe, and pyshellext.amd64.dll in the \\Windows directory?
Because of easy access to other Python version installed.
Main version in Path is always access with python all other version use py.
λ python -V
Python 3.7.0

C:\
λ py -3.4 -V
Python 3.4.2

C:\
λ py -2.7 -V
Python 2.7.9

λ # Using pip to install to 2.7                                                                            
λ py -2.7 -m pip install logzero                                                                               
Requirement already satisfied: logzero in c:\python27\lib\site-packages

# Just pip always install to main version in path
C:\
λ pip -V
pip 18.0 from c:\python37\lib\site-packages\pip (python 3.7)
See that i have full access to all version,no need to change directory or do change to files of Python versions.
Quote:This can also create huge problems if you have multiple versions of Python installed (Py3, Py2, Anaconda2, Anaconda3).
No py will not interner with Anaconda.
Anaconda use python.exe to execute.
Reply


Messages In This Thread
windows install py.exe - by fulkgl - Sep-16-2018, 08:31 PM
RE: windows install py.exe - by snippsat - Sep-16-2018, 09:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python 2.7.14 install on Windows missing Scripts directory and pip #bug bluejedi 4 16,729 Dec-15-2017, 04:12 PM
Last Post: bluejedi
  [PyPa] Problems with Install PIP on Windows ! JamieVanCadsand 7 9,941 Sep-25-2017, 10:37 AM
Last Post: JamieVanCadsand
  Can I install Python 3.6.2 on Windows 10 for All Users? DAWO 1 30,055 Sep-15-2017, 01:31 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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