[Tutor] Installing python
Alan Gauld
alan.gauld at yahoo.co.uk
Fri Nov 2 18:49:37 EDT 2018
On 02/11/2018 21:13, Roger Lea Scherer wrote:
> I have installed python 3.7 on my computer Windows10
> (C:\Users\Roger\AppData\Local\Programs\Python\Python37),
Caveat: I'm no expert on modern Windoze.
But... That looks like the wrong path to me.
My Windows install is usually either in
C:\Python...
or
C:\Program files\Python...
Depending on distro...
How exactly did you install it? Did you use the Pyhon.org
binary installer? Did you use the default settings?
I don't know if they have 3.7 available yet,
but I usually recommend activestate.com for
Windows users, its install seems less
problematic in my (limited) experience.
And of course comes loaded with lots of
extra Windows specific goodies.
> the git repository that holds all my projects and type "python --version"
> in WindowsPowershell, I get Python 3.6.5.
So you must have two Pythons installed?
What is your PATH set to? That's what controls
which Python you pick up (along with some
registry settings)
> So I guess my question is am I supposed to install python 3.7 in the git
Definitely not!
> a related question I think, am I supposed to install python
> 3.7 in every virtual environment I create,
I don't think so but never use virtual environments.
Never found a need.
> I guess I'm so used to installing programs in Windows or Mac and having
> them accessible globally
That's what happens with Python for me...
But you have two versions installed so it depends on what
Windows thinks is the default install.
What happens if you have two versions of MS Office
installed and you type winword?
> to do the same thing, although I understand about programs written earlier
> crashing because of upgrades, like from 2.7 to 3.4 for instance.
That's got nothing to do with install issues,
that's incompatibity in the code between v2 and v3.
I think the key is how exactly you installed both versions.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list