Тёмный
No video :(

Virtual Environments in Python - Crash Course 

NeuralNine
Подписаться 364 тыс.
Просмотров 92 тыс.
50% 1

In this video we learn how to create and use virtual environments in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine...
💻 The Algorithm Bible Book: www.neuralnine...
👕 Programming Merch: www.neuralnine...
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine...
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/Neu...
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@princemarkied8071
@princemarkied8071 7 месяцев назад
this was exactly what i needed. It made it so simple for some reason lol. Virtual Environments are a MUST for python and now I can navigate them with no confusion
@aslynnmoore8601
@aslynnmoore8601 5 месяцев назад
Great video. Good explanation of why needed and how to create a requirements.txt file to identify the modules to load into the environment. The only thing missing is saying what to do with the requirements.txt file after you make it. While you could just read through it and manually pip install each of the modules in the file, you can also just install all of them in one command using pip install -r requirements.txt. That is really what I came here to find and you have everything except that. Thought I would add it here so the whole process is complete.
@timrudenauer6449
@timrudenauer6449 6 месяцев назад
Very good explanation. All basics were straight an to the point. The virtual environment was weird for me as a fulltime javascript dev. Now I understand that its not really that different except of the changed environment variables and paths. :)
@jjar7266
@jjar7266 4 месяца назад
Thank You so much! I was having a bit of trouble with chapter 18 in Python Crash Course 3rd editiion on creating a virtual environment.. you made it very simple to understand!!
@pcimring
@pcimring Год назад
Great intro - thanks! I played around on a Mac, and as far as I can tell, the following commands are used: To create a virtual environment: python3 -m venv OR (as per this video): virtualenv Then... to activate: source /bin/activate And to deactivate: deactivate -- That's what worked for me. Am I missing anything? :)
@chrisdepallanofficial460
@chrisdepallanofficial460 5 месяцев назад
its the same for linux/unix systems. i was searching for scripts in my system. then i just went " hahaha"
@lightningfastthunder5401
@lightningfastthunder5401 3 месяца назад
This was sooooooooooo nice and detailed, thank you man, you saved me from several late night headaches 😅
@jamesw8458
@jamesw8458 Год назад
This is crystal clear. Thanks!
@albertoricardomorales6328
@albertoricardomorales6328 2 года назад
Thanks! This is just what I needed
@oguzhantopaloglu9442
@oguzhantopaloglu9442 2 года назад
whats the difference between this and "python -m venv venv" stuff?
@juliankleinhans
@juliankleinhans 2 года назад
@@Serpent-DCLXV thx, and what should you recommend to use and why? Until now i am using python -m venv .venv, but after watching your awesome Video i am not sure if i should stay with that or if i should switch
@juliankleinhans
@juliankleinhans 2 года назад
@@Serpent-DCLXV awesome answer, thanks a lot
@nu940
@nu940 2 месяца назад
concise, yet very helpful tutorial
@govinej
@govinej 2 года назад
Can you do a course about testing your code/classes/methods?
@MarcelMaier-zz4xo
@MarcelMaier-zz4xo 2 месяца назад
i was kinda shocked, that this even is a problem in python. as a beginner i just asumed that i works like node :D
@Yash-Gaikwad
@Yash-Gaikwad 8 месяцев назад
Best tutorial for virtual environment. subscribed :)
@ZsoltPal23092011
@ZsoltPal23092011 Год назад
excellent thanks! clear easy to understand explanation, helped a lot!
@AMoktar
@AMoktar 7 месяцев назад
Awsome, Pretty straight forward. Thanks bro.
@G3CK0S
@G3CK0S 4 месяца назад
This was super helpful, thank you!
@hakonmoen3438
@hakonmoen3438 Год назад
great, another super technical "introduction". How about a high level illustration of what the topic is about, and keep it dumbed down for a set amount of time before introducing abbreviations after abbreviations
@felipefarah9720
@felipefarah9720 Год назад
Crazy good explanation! Great stuff
@RonSheely
@RonSheely Месяц назад
Thank you.
@samsung40_media87
@samsung40_media87 2 года назад
clear on Windows - cls - or maybe CTRL+L works too?
@tejashwini54321
@tejashwini54321 Год назад
Thank you so much sir for such a clear explanation....✨😊✨✨✨✨
@lundebc
@lundebc 9 месяцев назад
So, I think I am missing something key. On my raspberry pi, runing bookworm, If I create the venv, install a library, then go to my visual studio environment, how do I make sure that the python "sees" the library in the venv ?
@programadordelassombras
@programadordelassombras Год назад
New to python applications here. From my understanding, virtualenv is a third party package. venv (formally pyenv) comes installed with python3. With this said, is it still, then, necessary to use virtualenv? I'm mad confused... then there's pipenv... **confusion overload**
@Grogueman
@Grogueman Год назад
If you need to use different versions of pyhton for various projects, virtualenv is the way to go. venv only creates environments with its home release of Python.
@A.Tantawy
@A.Tantawy 11 месяцев назад
Thanks a lot man, You're doing an amazing job!!!
@michaelomosebi6374
@michaelomosebi6374 11 месяцев назад
Exactly what I needed! 👍
@Good-and-Geeky
@Good-and-Geeky Год назад
Super explanation. Very useful !
@sentient1640
@sentient1640 5 месяцев назад
I didn't add python to path. So, when I deactivate and run pip list command, i still see the packages installed in virtual environment but not outside the folder.
@plopi3109
@plopi3109 10 месяцев назад
I use venv because i don't have root permissions and I struggle use venv with IntelliJ IDEA, the packages i download with pip in the venv are not showing on my IDE, but your video helped me understanding those concept, i'm not at all into progamming
@bassycounter
@bassycounter 9 месяцев назад
Hmm I’ve had similar problems with packages not showing, maybe i’ll try virtualenv
@songxujin5581
@songxujin5581 8 месяцев назад
讲的醍醐灌顶!大兄弟谢谢你
@Bern-One
@Bern-One 6 месяцев назад
Great lesson.
@elysonpanolino5413
@elysonpanolino5413 9 месяцев назад
after creating and activating virtual environment, how to proceed in actual coding that uses this venv
@ThePelcher
@ThePelcher 9 месяцев назад
Great video!
@zigaudrey
@zigaudrey Год назад
I am so used to see that "PIL/Pillow doesn't need a Virtual Environment" that I need one to make it work. All I end up to says is "God. Fucking. Dammit". Thank for the video.
@vangelis_
@vangelis_ Год назад
useful video, well explained :)
@Nabilh17
@Nabilh17 Год назад
very clear, thank you
@tamirnitzan7836
@tamirnitzan7836 6 месяцев назад
Why keep on showing old technology. Can do all with pipenv match more simple.
@DennisMissel-sw1uh
@DennisMissel-sw1uh Год назад
Awesome content .. thank you
@krzysiekkrzysiek9059
@krzysiekkrzysiek9059 Год назад
@NeuralNine is the Virtualenv better than the Venv?
@YuTv1408
@YuTv1408 10 месяцев назад
Cool and more useful than reading RedHat...lolz
@junjuljunjul4392
@junjuljunjul4392 Год назад
Thank you good sir!
@carlosduclaud9562
@carlosduclaud9562 Месяц назад
you just left the linux explanation halfway... thank you
@programadordelassombras
@programadordelassombras Год назад
Does anyone have any resources on how to move an existing Django project into a venv? I started a Django project without first creating a venv.
@horstmueller1000
@horstmueller1000 Год назад
is virtualenv recommended or deprecated? (min 5:00)
@erfanfekri7156
@erfanfekri7156 11 месяцев назад
Thanks a lot !
@Tony-dp1rl
@Tony-dp1rl 6 месяцев назад
Using Docker as I do now, is a lot more simple than this, and you have the bonus of being ready to deploy just about anywhere. Not seeing any advantage here.
@infocus5410
@infocus5410 Год назад
for some reason, I can't deactivate virtualenv, command .\Scripts\deactivate. bat doesn't do anything...?
@Fidolorous
@Fidolorous 8 дней назад
just type deactivate if you're using powershell
@sadeqmousawi140
@sadeqmousawi140 Год назад
Thanks a lot
@MK3DScapes
@MK3DScapes 6 месяцев назад
The "ls" command will not work in CMD for me. Does anyone know why?
@NeuralNine
@NeuralNine 6 месяцев назад
It's a Linux command. On cmd you need to use "dir". I added a custom alias in Windows.
@brianwaweru7754
@brianwaweru7754 8 месяцев назад
thanks
@jms9993
@jms9993 6 месяцев назад
ugh windows and the cli makes me so sad :(
@NeuralNine
@NeuralNine 6 месяцев назад
I have a newer video recorded on Linux.
@loganki5zyw
@loganki5zyw 10 месяцев назад
I was wondering why the fuck do i want to go to this trouble but ig it makes sense
@bassycounter
@bassycounter 9 месяцев назад
😂me too, i spent so much time thinking this stuff was way too unnecessary, but now that I’m working on projects that require external packages, I guess I ought to learn up on this and get comfortable with it
@laalbujhakkar
@laalbujhakkar Год назад
Do you know why people skip the videos back and forth? because we're dealing with a hundred plus videos for our search query and every single one claims to epxlain python virtual envs. For eache *#$()*#$ video, we have to sit through 2 unskippagle godda***d ads for 20 seconds. You see where this is going?
@guilherme5094
@guilherme5094 2 года назад
👍
@WaqasKhan-pn9fj
@WaqasKhan-pn9fj 2 года назад
1st viewer 🤣🤣
@TppJay
@TppJay 2 года назад
3rd comment
@philtoa334
@philtoa334 2 года назад
Thx._
@NoHentotai
@NoHentotai 10 месяцев назад
didnt work/talks too fast
@ResearchStatisticsCorrectly
@ResearchStatisticsCorrectly 9 месяцев назад
You can go to the settings and set the speed to .75
Далее
The Complete Guide to Python Virtual Environments!
15:52
5 Good Python Habits
17:35
Просмотров 508 тыс.
what will you choose? #tiktok
00:14
Просмотров 7 млн
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Просмотров 9 млн
Importing Your Own Python Modules Properly
9:56
Просмотров 222 тыс.
What is a Virtual Environment in Python?
8:53
Просмотров 6 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 802 тыс.
The most important Python script I ever wrote
19:58
Просмотров 188 тыс.
Anaconda (Conda) for Python - What & Why?
26:10
Просмотров 228 тыс.