Python Tutorial: How to Set the Path and Switch Between Different Versions/Executables (Windows)

preview_player
Показать описание
In this Python Programming Tutorial, we will be learning how to set the PATH environment variable on the Windows Operating Systems.

We will also learn how to modify the PATH in order to switch between different Python versions and executables. This is an essential skill that trips up many people when they first start learning Python and will definitely help you in many real-world situations. Let's get started...

How to Set the Path on Mac and Linux:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

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

Thank you Corey, this is exactly what I was looking for. Clear and easy to understand PATH breakdown. All the best!

chrystiankownacki
Автор

Pure gold this video, like all your others I have watched on Python. Crystal clear, fast paced, direct to the target. Yours is definitely The BEST Python course I watched (and I have seen a few...). I lost a few days exactly on the path issue as I could not find a clear explanation on the path ORDER. Your video showed me exactly the detail I was missing. Thank you!!! I would include this in the playlist on videos about "Setting up a Python Environment".
Paypal-ed you.

mihaigrigore
Автор

Finally a video covering this, and also so well explained! Thanks Corey!

avivbaltsan
Автор

By far one of the most useful videos on YouTube! Awesome! I pip installed flask but also installed python using anaconda which I guess is messing up flask modules along with peewee modules. Hopefully this helps me modify how my machine looks for peewee and flask libraries.

juliancardona
Автор

(For my future reference)
4:50 Adding directories to the path environment variable
10:40 Find the location of the python you're using using 'sys'
12:24 (Echo path)
13:52 Installed a package but not found when importing it
14:54 (Using pip show to get location of a package)
16:50 When the CL and Editor are using different python versions (Sublime Text as example)

VictorOlet
Автор

This video has been extremely helpful to me. I was struggling heavily with not being able to import modules based on the IDE I used. I now have a thorough understanding of the impact and importance of setting the path. Thank you so much.

bryanmedina
Автор

THANK YOU SO MUCH!!! It took me 3 videos to get to this one and it made it so clear and easy to follow, unlike the other ones, thanks again for the help!

jeffplays
Автор

I just stumbled onto this video as I was troubleshooting this exact issue and I couldn't be happier! Great content and easily explained!

benjamincruzjr.
Автор

I've spend hours on StackOverflow and numpy documentation trying to figure out why my modules won't import. This is the only advice that has actually worked. THANK YOU!

jeremyclark
Автор

These videos are gold standard. Used to struggle with these... but not anymore... Thank you Corey...!!

gowthamreddy
Автор

Ty man wanted to start with it and you are the first one that actually helped. :)

asdasasada
Автор

I really appreciate it. I was confused about how can change between different Python version and install packages. It was really helpful.

farzaddalavi
Автор

Jack Pot! (For context, I use windows). I was trying to create a virtual environment and I ran into a block because my default python interpreter was set to the one in my c compiler(for linux, its MinGW). The venv file didn't have a 'scripts' file. It was a nightmare. Luckily, I changed my system environment path and changed it to my separately installed python interpreter for windows! Best video ever!

sirskye
Автор

Fantastic video - answered all my questions regarding Path and Environment Variables in a clear and succinct manner. Subscribed!

rorysmith
Автор

This was so helpful. Thanks a lot dude!

usamatahir
Автор

Thank You Corey. You have been really helpful in learning python

rohanramani
Автор

Very helpful video. Thank you, Corey!

SteadyEddyyy
Автор

you explained this better than anyone else on the internet. It actually makes sense now, thanks

jimbb
Автор

You are the best instructor I've ever see. Thanks for this very informative video! Awesome!

salarghaffarian
Автор

thanx! Very informative!!! It will save a lot of nerves & time to a lot of people!!!! GREAT

barbarairena