How to switch Python versions in Windows 10. Set Python path

preview_player
Показать описание
In this tutorial, I'll show how to switch between Python versions in Windows 10. It's important to know how to change the Python version from 2.7 to 3.10 and back.

The easy way to change the Python version is to set Path in Windows.

Check out my courses here!

Support this channel:

Let's be friends:

#python27 #python310 #python
Рекомендации по теме
Комментарии
Автор

this quick video was literally godsend. thanks a lot.

ramitchatterjee
Автор

Doesn't work for me even if I have 3.10 on top

loquendoBAD
Автор

THANKS! This was exactly what i needed. Keep up the work! ;)

veramaroschek-haberl
Автор

thanks lot, this one actually what I was looking for, it should be sooner :D

thucphan
Автор

I understand py -0 lists all the versions, and you can select python 2 or python 3 via py -2 or py-3.. but is there a way to use py that selects a 32-bit version of python 3 vs 64-bit?

Any thoughts on using venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, pipenv, etc?
i.e. do they all accomplish the same as changing the paths (PYTHONHOME, PYTHONPATH, PATH, etc ) or is that not the latest preferred/pythonic way?
mkvirtualenv -p python2.6 env
virtualenv --python="/usr/bin/python2.6" "/new_venv_path/"

I'm interested in using the nuitka command-line-tool, but want to force it to build a 32-bit executable!

bennguyen
Автор

Great video. I was looking for the 2nd case with the env arrangement. Lol i thought it was funny how you typed "pyton" which is how you said itn then fixed it but then it happed again later in the video but it was a quicker edit lol. Im sure you know, great content

skobanemusic
Автор

Thank you Bane for explaining how to use other python versions, but it did not work for me. In fact the python paths weren't even in the list of environment variables!!! so I'm still stuck

OkiemTaty
Автор

When I first installed python I never had to add a path variable but now I added a python path variable but that doesn't work. Any Help>

secretr
Автор

how about changing the asterisk on py?

Billythek
Автор

1:50 why are my Python version not installed here?

Vritas
Автор

python shows 3.8.1 but py shows 3.10.4, so I replaced py.exe with 3.81's python.exe

joecox
Автор

It doesnt work for me, i have v3.11 and v3.10, and it always shows 3.10 even if i delete the 3.10 paths from the environment variables

cyberdemon
Автор

Why is there a star listed at version 3 in the beginning? Does it stand for default version, dont you uave version 2 as default in the beginning?

abvmoose
Автор

tried on Sept not work - I mean change the order no effect, I have 3.8.1 and 3.10.4

joecox
Автор

python --version and py --version returns different versions :(

dreambasel