No video

Using multiple Python version on Windows

  Рет қаралды 24,513

Did Coding

Did Coding

Күн бұрын

Using multiple Python version on Windows
As a developer, I find that I need to switch between different Python versions when I'm working on projects.
I have my own way of doing this!
In this video, I will show you an easy way to toggle between different versions of Python on your Windows machine.
ABOUT OUR CHANNEL
Our channel is about coding a development. We cover lots of cool stuff such as Django, React, Javascript, AJAX, Coding on DLT's
Check out our channel here:
/ @didcoding
Don’t forget to subscribe!
CHECK OUT OUR OTHER VIDEOS
• Building and launching...
• Integrating API's with...
• Hedera Hashgraph Pytho...
FIND US AT
www.didcoding.com
GET IN TOUCH
Contact us on bobby@didcoding.com
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
Twitter: / didcoding
Facebook: / didcoding
SUPPORT US
Patreon: / didcoding
HBAR wallet: 0.0.290086
HIRE ME
Need help with a project? Hire me on a freelance basis?
Upwork: www.upwork.com...
DISCOUNTS
Visit our website to get some fantastic discounts
didcoding.com/...

Пікірлер: 99
@artusuroda487
@artusuroda487 2 жыл бұрын
A couple of weeks ago I was sorting python versions at my machine. VSCode hasn't seen a certain version. It took me an hour to fix it. If I only saw your video. 👍👍👍
@DidCoding
@DidCoding 2 жыл бұрын
I feel your pain 😀 This is the exact reason why I put the video together.
@manasuniyal2897
@manasuniyal2897 4 ай бұрын
It's actually the cleanest and clearest video on you tube on this topic. THANK YOU
@DidCoding
@DidCoding 4 ай бұрын
Thank you
@nikola7771
@nikola7771 7 ай бұрын
I giggled ☺ Very interesting way to add multiple versions of Python and control their usage. Thank you for your time and for the video.
@DidCoding
@DidCoding 7 ай бұрын
😃😃
@shazam1334
@shazam1334 5 ай бұрын
its rare to see some solutions actually work in utube... good vid
@DidCoding
@DidCoding 5 ай бұрын
Thank you
@ananthakrishnank3208
@ananthakrishnank3208 9 ай бұрын
Thanks! If someone still gets "python not recognized as an internal ...", just try to move those two paths all the way to the top in your "SYSTEM" path. That worked for me.
@DidCoding
@DidCoding 9 ай бұрын
Good advise
@LisandroDC
@LisandroDC Жыл бұрын
I would like to have something much cleaner like "node package manager". But I have to say that your approach is really concise and works perfectly
@DidCoding
@DidCoding Жыл бұрын
I tend to dockerise projects now and install the correct packages.
@user-zl3qu8yh4z
@user-zl3qu8yh4z Жыл бұрын
wow., the best tutorial ever
@DidCoding
@DidCoding Жыл бұрын
Thank you
@Gareth.W
@Gareth.W Жыл бұрын
Cheers - succinct and useful. Have seen some horribly complicated videos so I'm glad I stumbled on this one.
@DidCoding
@DidCoding Жыл бұрын
Glad you found it useful 🙌
@Gigudrion
@Gigudrion 2 жыл бұрын
Thanks. Much easier than other guides.
@DidCoding
@DidCoding 2 жыл бұрын
Thank you. I’m glad you like it
@suvrangshubarua7117
@suvrangshubarua7117 Жыл бұрын
Clear, Concise, Easy. Better than any other ones out there. Thank you :D
@DidCoding
@DidCoding Жыл бұрын
Thanks for the feedback 👍
@Zeworkicz
@Zeworkicz 8 ай бұрын
The life saviour! Thank you!
@DidCoding
@DidCoding 8 ай бұрын
No worries 🙌
@azvasamusic7095
@azvasamusic7095 Жыл бұрын
thank you heavens and you... simple to the point and useful af
@DidCoding
@DidCoding Жыл бұрын
Thanks for the feedback
@malwaredev33
@malwaredev33 Жыл бұрын
This will help me and another programmer a lot in version management. Thanks Bro
@DidCoding
@DidCoding Жыл бұрын
It’s simple but effective 👍 Thanks for the feedback.
@fishfuse02
@fishfuse02 2 жыл бұрын
Thank You so so much. This helped me download the Sentence-transformers. You saved me
@DidCoding
@DidCoding 2 жыл бұрын
Glad it helped 👍
@makinarosa
@makinarosa Жыл бұрын
crispy clear technique.Thank 😊you
@DidCoding
@DidCoding Жыл бұрын
🙌
@rahulkr2575
@rahulkr2575 9 ай бұрын
By far simplest aay to use multiple versions.
@DidCoding
@DidCoding 9 ай бұрын
Thanks mate
@saraheidari2642
@saraheidari2642 2 ай бұрын
thanks it was helpful
@DidCoding
@DidCoding 2 ай бұрын
👍
@begaxo
@begaxo Жыл бұрын
You're a life saver, thank you!
@DidCoding
@DidCoding Жыл бұрын
No worries
@sk74962
@sk74962 4 ай бұрын
Thank you so much.
@DidCoding
@DidCoding 4 ай бұрын
🙏
@abdelrhmantarek5950
@abdelrhmantarek5950 6 ай бұрын
Thank You ❤
@DidCoding
@DidCoding 6 ай бұрын
🙌
@joelprestonsmith
@joelprestonsmith Жыл бұрын
What exactly did you do at 3:06? Screens start magically appearing. You clicked on something in the lower part of the screen. What was it! I'm loving the video so far. Just can't figure out how you went from the Console to those navigation panes. Thank you.
@DidCoding
@DidCoding Жыл бұрын
Hi there. That’s windows search panel 👍
@joelprestonsmith
@joelprestonsmith Жыл бұрын
Thank you, @DidCoding
@lumpymilktea
@lumpymilktea Жыл бұрын
yeah this works, thanks for the guide
@DidCoding
@DidCoding Жыл бұрын
Thanks for the feedback
@vishaltrivedi540
@vishaltrivedi540 Жыл бұрын
Thanks!!! It was really helpful.
@DidCoding
@DidCoding Жыл бұрын
Thanks for the feedback 👍
@iiannRB
@iiannRB Жыл бұрын
very clear , thanks
@DidCoding
@DidCoding Жыл бұрын
🙌
@levvillanueva9047
@levvillanueva9047 Жыл бұрын
It should also be mentioned that if you're on you venv and you want to use a package that is already installed on the host, that package will use the kernel for the *first* python version you installed regardless of the PATH configuration. To avoid this, install those packages again on your venv. (Tested while using jupyterlab/jupyter-lab). I ran into this issue because I thought 'I will need jupyter for everything', I might as well install it on the host and not time and time again on the venv's. Turns out, you need to for maximum compatibility with the version of python you want to use.
@DidCoding
@DidCoding Жыл бұрын
Thanks for the comment. When I recorded this it was an easy fix to a problem I faced when swapping between projects. I tend to use docker these days to containerise…
@abhinayasheva2860
@abhinayasheva2860 11 ай бұрын
sorry i didnt understand, so i have to install numpy pandas etc in all version of my python?
@levvillanueva9047
@levvillanueva9047 11 ай бұрын
​@@abhinayasheva2860 Specifically for jupyter-lab, if you just use the host version and it's not compatible with what your other package needs, you should install jupyterlab again on that VENV Scenario -HOST COMPUTER, FIRST PYTHON INSTALLED IS 3.10 -HOST COMPUTER HAS JupyterLab installed (version not imporant here) At this point, whenever you create a VENV, jupyter lab will be available for you to use and it will use the 3.10 kernel regardless if your PATH configuration (in windows) -We install Python 3.8 -We change the PATH configuration so that python 3.8 is on top -We create a new VENV (python --version -> 3.8) -JupyterLab is available, however, it will use the Python 3.10 kernel regardless of your PATH config -Run pip install jupyterlab for this VENV -JupyterLab will now use python 3.8 (the correct kernel for this VENV)
@user-vb7im1jb1b
@user-vb7im1jb1b Жыл бұрын
Thanks a lot for this tutorial!
@DidCoding
@DidCoding Жыл бұрын
No problem. Glad you found it useful.
@user-vb7im1jb1b
@user-vb7im1jb1b Жыл бұрын
@@DidCoding By the way, do you have a similar video for Linux? Thanks again!
@lil_4118
@lil_4118 Жыл бұрын
very helpful, thanks
@DidCoding
@DidCoding Жыл бұрын
Thank you
@alananalyst7795
@alananalyst7795 Жыл бұрын
that was helpful, thanks!
@DidCoding
@DidCoding Жыл бұрын
👍
@MAS_BIRU_LAUT
@MAS_BIRU_LAUT 10 ай бұрын
thanks man
@DidCoding
@DidCoding 10 ай бұрын
You’re welcome
@programmerlovers8071
@programmerlovers8071 6 ай бұрын
Nice ❤❤
@DidCoding
@DidCoding 6 ай бұрын
Thanks
@infinitylogic_ahmed
@infinitylogic_ahmed Жыл бұрын
thank you
@DidCoding
@DidCoding Жыл бұрын
Your welcome
@user-tr3ml5cd9r
@user-tr3ml5cd9r Ай бұрын
Not bad but great. I may use this craft method if nothing better appears
@DidCoding
@DidCoding Ай бұрын
🙌
@user-tr3ml5cd9r
@user-tr3ml5cd9r Ай бұрын
YES. It has worked!! Your solution solved my obstacles regarding "ECG-image-kit" project (hearth & health stuff by Alphanumerics Lab). That code requires Python 3.8.18 and I have switched from my usual 3.12.1 down to 3.8.10 (current release available).
@JouLopes
@JouLopes Жыл бұрын
When you edit the version of Python, you edit it in all your computer or just in the current folder?
@DidCoding
@DidCoding Жыл бұрын
Sorry for the delay. It changes it across your machine.
@levvillanueva9047
@levvillanueva9047 Жыл бұрын
For 'smart' people, these python developers sure know as much as Jon Snow
@DidCoding
@DidCoding Жыл бұрын
😂
@sk45293
@sk45293 Жыл бұрын
This is great
@DidCoding
@DidCoding Жыл бұрын
Thank you 🙏
@sushantsawant6468
@sushantsawant6468 Жыл бұрын
hello i have two python version 3.10 and 3.7.8, I want PY 3.7.8 on priority when I type PY on CMD for Machine learning.
@DidCoding
@DidCoding Жыл бұрын
To do that you may need to install 3.7.8 followed by your secondary versions. Alternatively, you can use pyenv or fire up a basic docker container with the version you need 🙌
@robo4827
@robo4827 4 ай бұрын
Hey manh i tried this its not working when i install a new version of Python does the environment variables get added directly in ur environment variables path Cuz when i download i need to manually add the path in env variables and when i move it up yet no change it is showing me the 3.11 version only whereas i want to run 3.7 version what should i do can someone pls help out?
@DidCoding
@DidCoding 4 ай бұрын
Morning, Dockerizing your project is an easy way to use multiple Python versions 👍
@narpwa
@narpwa Жыл бұрын
Is there a way to run a python script in for example 3.7.3 and at the same time run another script in 3.8.2 on the same computer ?
@DidCoding
@DidCoding Жыл бұрын
One option is to use Docker and run a python image. This will give you a local python version and a different one in Docker 👍
@lohithasai8161
@lohithasai8161 Жыл бұрын
There are no python files in the path but i have installed both 3.7 and 3. 11 version. What shld i do
@DidCoding
@DidCoding Жыл бұрын
You can add them manually 👍
@hairulls
@hairulls Жыл бұрын
thanks bro,
@DidCoding
@DidCoding Жыл бұрын
🙌
@jizzervirusreptikonski8756
@jizzervirusreptikonski8756 Жыл бұрын
6:25 why it didn't register it?
@DidCoding
@DidCoding Жыл бұрын
I put this video together a while ago so I’ll need to have a look.
@matiasvasquez7300
@matiasvasquez7300 Жыл бұрын
grande pelao se te quiere
@DidCoding
@DidCoding Жыл бұрын
😂
@asraajalilsaeed7435
@asraajalilsaeed7435 Жыл бұрын
I have problem , i need python2 with keras, tensorflow in order to knime , but i cant becase i have python vertion 3 Can you help me?
@DidCoding
@DidCoding Жыл бұрын
Have you tried using docker with a python2 image?
@skaruts
@skaruts 2 жыл бұрын
I wonder if you can write a python script to switch the path order automatically... lol :)
@DidCoding
@DidCoding 2 жыл бұрын
😀
@jparks6544
@jparks6544 6 ай бұрын
DO NOT DO WHAT THIS GUY SAYS. This is idiotic.
@DidCoding
@DidCoding 6 ай бұрын
Thanks for your constructive criticism 😂
@doniherald7745
@doniherald7745 Жыл бұрын
thank you
@DidCoding
@DidCoding Жыл бұрын
You’re welcome
Manage Multiple Python Versions with PyEnv
9:54
NeuralNine
Рет қаралды 19 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 406 М.
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 16 МЛН
الذرة أنقذت حياتي🌽😱
00:27
Cool Tool SHORTS Arabic
Рет қаралды 11 МЛН
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 42 МЛН
How Hackers Write Malware & Evade Antivirus (Nim)
24:04
John Hammond
Рет қаралды 396 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,6 МЛН
5 Things LINUX MINT Objectively Does Better Than WINDOWS 11
11:21
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 383 М.
Why Everyone Is OBSESSED With Arc Browser
10:26
Enrico Tartarotti
Рет қаралды 275 М.
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 513 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,1 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН