Here's how you can setup a virtual environment in Visual Studio Code for Python. ▶ Become job-ready with Python: www.indently.io ▶ Follow me on Instagram: / indentlyreels
Пікірлер: 202
@rolandonunez18937 ай бұрын
For those that didn't get the venv after restarting the terminal and had an error regarding to Execution Policies, just run in the terminal the following script: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser and then: .\.venv\Scripts\activate (for Windows)
@asioud7 ай бұрын
Goat
@lyndaraid34016 ай бұрын
Very useful comment 👍🏻
@artyCrafty45645 ай бұрын
thanxxxxxxxxx mannnnnnnnnnnnn
@Harshitha--wq1jq5 ай бұрын
thanks
@sushmitarawat64385 ай бұрын
Thanks a ton😊
@kiyingipisgah4365 Жыл бұрын
It has taken me hours to import modules in python but after following this, I can firmly say that I have landed. Btw am a self taught programmer/coder and this was really helpful.😊
@NewParadigmAI-zm9lj11 ай бұрын
This is the best damned instructional ever. Honestly, so many 20 minute videos, and this dude knocks it out of the park.
@zeebeat1234 ай бұрын
Couldn't agree more. I have watched SO many videos and they are much longer, and many leave out small but essential details
@joaquinurruti262811 күн бұрын
Absolutely! He's so clear on every subject!
@ליאורשביט-ד5כ3 ай бұрын
As someone who is just starting out and really needs the things that are understood by everyone, I appreciate this video. Thanks.
@boitedamour7 ай бұрын
after 4 hours of search, your tutorial saved my life . thanks
@azekhuoriadignity23603 ай бұрын
for those that did not get the (env name) in terminal path, which is supposed to be displayed in the panel after activation, its normal on Vs code right now. You can hover over the powershell or cmd button on the top of the panel to see the extensions that have contributed to the terminal environment. There you will see your virtual env running.
@Moxaji3 ай бұрын
thank you, this was my issue, I was confused
@azekhuoriadignity23603 ай бұрын
@@Moxaji you’re welcome
@Ashley_Mariee12 күн бұрын
thank you so much for leaving this comment 🙌
@azekhuoriadignity23608 күн бұрын
@@Ashley_Mariee you're welcome
@JamesRBentley Жыл бұрын
bro this is the best tutorial on how to do this, clear, simple, perfectly illustrated for beginners
@saintsscholars82319 ай бұрын
I was literally tearing my hair out trying to modify PATH variables and going around in circles. Very clear explanations. Thank you!
@lofgren0074 ай бұрын
Best and simplest explanation I have come across for venv - thank you kindly.
@abubakr9796 Жыл бұрын
Love your videos bro! Easy and simple to understand tutorials and explanations.
@abdullahattia2491 Жыл бұрын
simple enough and straight to the point thanks!
@amigobrewbrew9297 Жыл бұрын
As a beginner I was lost but now it all makes sense. Thanks!
@user-jk1gb7wm6z Жыл бұрын
for windows .... python -m venv myenv Then activate it by following command... myenv\Scripts\activate here .... myenv is name of my environment .... u can give any name ..... Just 2 lines of Commands..
@sgomez8194Ай бұрын
thank you! .venv\Scripts\activate did it for me! now i can see the (.venv) in the terminal
@kenbajema9 ай бұрын
Now the dozens of videos I've watched regarding installing Autogen and memgpt etc make sense!! thank you. I've been using conda environments and have had a difficult time finding the and editing the correct .py files! for packages and running them.
@JackPlaysMinecraft57510 ай бұрын
Thank you for this Helpful Video i was Struggling with using VScode Now i Know how to get python onto it
@itskingshon5 ай бұрын
You're a literal lifesaver; thank you!
@ighodaro43077 күн бұрын
you're the best thank you so much I never liked vs code but am good now after watching you
@andrewclayburn5920 Жыл бұрын
wow I wasted so many hours trying to figure out what the hell was going on before finally finding this video and solving it in seconds, thanks man I appreciate it!
@ispeakpython7 ай бұрын
Thank you sir, I've found answer of my question here after 3 weeks.
@lavendercode Жыл бұрын
Thank you so much Indently! This is the easiest way to make a virtual environment. Please continue to make videos; they are valuable!
@bensonkamau1844 Жыл бұрын
actually when creating a new python file, if you create a requirements.txt under it and add modules to be used, vscode displays a button on the bottom left side asking you whether you want to create a new environment
@cosmic_910 ай бұрын
Thank you for explaining it as well! I'm trying to comperhend every basic principle vs code and python has to offer and hit a wall here.
@LaminarRainbow8 ай бұрын
Thank you for the quick and concise video!
@notgamerboy8048 Жыл бұрын
great tuotrial, it took me a few hours to figure it out by my self last time, but this time it took like 2 mins bc of your vid
@TJTHEFOOTBALLPROPHET Жыл бұрын
Bruh, that was the best explanation on the internet! thank you!
@bozok1903 Жыл бұрын
I watch your videos even if I know the subject you teach. You are very good at transferring your knowledge. Thanks a lot.
@Ponduck Жыл бұрын
das just odd
@PagareProduction1234 ай бұрын
Thanks buddy for give me this instruction Thank you so much
@mohammadhseinanvari58652 ай бұрын
Thank you so much this video was so practical for me❤❤❤❤
@solomonwest91048 ай бұрын
You are very helpful ... you just earned a subscriber , Thanks
@bodonyigy10 ай бұрын
Helped a lot. Simple, clear, understandable!
@nimraiman20186 ай бұрын
this is exactly what i was looking for❤
@noekiriza5041 Жыл бұрын
Thanks, I finally found the best Tutorial 💪
@rick.d Жыл бұрын
couldn't have been more perfect. thanks!
@alexeykruglov81855 ай бұрын
Thank you vety much> I am using this in my work.
@go_away_plz Жыл бұрын
This tutorial really helped me. Thank you very much!
@Sanjana-nl1si8 ай бұрын
Thank you. That was very helpful
@whatdaro11 ай бұрын
great video, straight to the point. subbed
@trzztrzz2477 Жыл бұрын
Life saver. Thank you man!
@Nand_Snowwhite Жыл бұрын
Thanks for the beautiful explanaiton. Well done
@nelsonberm3910 Жыл бұрын
This is freaking craZY Tthank yoiu
@MOHAMEDGHARBI10010 ай бұрын
your language is so beautiful, thank you for your time. may I ask you where you from?
@Malek_Kidmal Жыл бұрын
Thank you for this video, really helpful !
@MushroomPower84 Жыл бұрын
Thank you for your work! I've already learned a lot by this channel.
@y.s4963 Жыл бұрын
First of all i love your accent and tnx for your tutorial
@danieledispirito Жыл бұрын
i’ve just discovered you’re italian, good video man!
@katerinaprotivenskiy36807 ай бұрын
Very helpful! thanks!
@brii35068 күн бұрын
Thank you soso much really!!
@Gamesoldier684 ай бұрын
Thank you very much for the very informative video. So i assume if you wanted to set up several virtual environments for different projects, you would just name them differently in the .venv command. Thanks again
@sharifsharifani Жыл бұрын
Although I completely followed this video, the error resists:ImportError: No module named statistics what should I do?
@srivatsavm3892 Жыл бұрын
i know this is a late reply cuz i just saw it but, after creating virtual environment you have to install your packages again using pip install
@Virtual40878 ай бұрын
@@srivatsavm3892 Do we need to install all the packages that are already installed in our system again when we activate a virtual environment?
@riluwan3697 ай бұрын
bruhh ig its inbuilt
@ХумоюнХужаев Жыл бұрын
thank you very much bro, it really helped me)
@cuoi123 Жыл бұрын
Thank you, It to be great if you add resolve when user missing that pop-up^^
@frankking532610 ай бұрын
Amazing video!! Thanks
@feelthevieww Жыл бұрын
it was so help full nice work bro
@pleabargain10 ай бұрын
Super helpful. Thank you!
@Indently10 ай бұрын
Glad it was helpful!
@ApolloAnalytics Жыл бұрын
You saved my day... Thanks 😊
@trp Жыл бұрын
Never thought it was this easy
@reighndrop12 ай бұрын
I just keep getting an error when trying to run the virtual environment command- Python was not found; run without arguments to install from the Microsoft Store,
@llucgarciacrumols433029 күн бұрын
me too, have you fixed it?
@KALYDO23 күн бұрын
very helpful
@ugurcaneser8 ай бұрын
It helped a lot. Thanks!
@Indently8 ай бұрын
Glad it helped!
@MukhammadkodirAbdusalomov6 ай бұрын
Thanks, this video is useful :)
@datag1199 Жыл бұрын
Fantastic video. Thank you very much.
@aditg3678 ай бұрын
Thank you for the video
@INGABIREJosiane-y8i6 ай бұрын
short and clear😍
@juliusngwu10 ай бұрын
Crystal clear
@joaovitor4241111 ай бұрын
Thank you very much, man
@cpesk06Ай бұрын
Thanks!! Can you replace .venv with another environment name, or is this necessary for it to run properly?
@Code4U_4 ай бұрын
Forget a .\ and searching for how to fix ps1 error ...... Thanks ❤
@DesperadoAH6 ай бұрын
THANK YOU ❣
@saremish9 ай бұрын
Very useful!
@haiclop_music9 ай бұрын
Thank you so much bro
@charlessnachez42484 ай бұрын
Why the « pip install discord » int he folder didnt work but it worked in the venv environment ? Is it because of some conflict with other global python packages?
@chycheaninh53465 ай бұрын
Thank you brother
@anything9276 Жыл бұрын
That was very helpful thanks
@prabhdeepsingh87267 ай бұрын
At 0:45 you should say that you installed Python extension for VSCode, not the interpreter. Without that extension, VSCode will not give you an option to choose between virtual environments.
@julianpicon2436 ай бұрын
Great
@En1gma2u11 ай бұрын
Thank You!!, I knew I recognized the voice -- Total Python: You Can Master Python Programming in 16 Days
@Indently11 ай бұрын
What’s that?
@En1gma2u11 ай бұрын
A class on Udemy, guy name is Federico and sounds just like you.
@enableDeepak Жыл бұрын
quite helpful! what keyboard shortcut runs the program?
@guyonlead Жыл бұрын
Quick and easy! Thanks!
@tonyhacker9322 ай бұрын
thanks brother
@catnpizza Жыл бұрын
Thank you very much I'm very grateful!!!
@boyinpyjamas10 ай бұрын
Great video but could have mentioned how to deselect select delete venvs.
@GouravRout1011 күн бұрын
lovely
@bneyez Жыл бұрын
Ur the best!
@alemaonalingua9 ай бұрын
NIce. Thanks
@4tmadeit Жыл бұрын
thank you man !
@thetafritz98687 ай бұрын
what do I do if I failed a couple times, tried again by deleting the .venv files and now no longer get the notification or the option to use the venv folder??
@pokpok94455 ай бұрын
I'm a bit late but you can click on the interpreter data on the bottom-right of the window that should be called like the version of python that is installed on your computer. Then you can click at the top on "browse..." then you go in the .venv folder then scripts and python.exe
@schmeiser_6 ай бұрын
great video as always, btw I wanna ask why in my python, I cant import tkinter? it says " ModuleNotFoundError: No module named '_tkinter' "
@CodeOnBlocks Жыл бұрын
Thank you!
@sbj6173 Жыл бұрын
Thanks .that was great 😊
@AB-ko2mm8 ай бұрын
Thank you
@tech-n-data Жыл бұрын
If I had hair, I would have pulled it out trying to figure out why I code wasn't usin the venv. Thank you for this video.
@anomienormie812611 ай бұрын
Idk what I've been struggling ten hours for when I could've just watched this and finished in 4minutes ㅠㅠㅠㅠ
@techsporadic8 ай бұрын
Thanks
@joncolt39159 ай бұрын
bro thank you so much!
@Indently9 ай бұрын
No problem!
@pedropacheco85329 ай бұрын
soooo hooot, thanks
@minhazuddin8939 Жыл бұрын
Thanks man😭❤
@Youtube_Xtreme7 ай бұрын
"tensorflow" is not importing, can Any one please help me
@anab6636 Жыл бұрын
if I made a file organizer code in python, but I'm scared to try it out on my actual computer, can I run it here??
@media7588 Жыл бұрын
Thanks you
@Dasol02469 ай бұрын
What happens when I run the .py program on another machine, do I need the pip package I installed in the virtual environment or once written I won’t need the pip package?