How To Setup A Virtual Environment For Python In Visual Studio Code In 2023

preview_player
Показать описание
Here's how you can setup a virtual environment in Visual Studio Code for Python.

▶ Become job-ready with Python:

▶ Follow me on Instagram:
Рекомендации по теме
Комментарии
Автор

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)

rolandonunez
Автор

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.😊

kiyingipisgah
Автор

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.

azekhuoriadignity
Автор

This is the best damned instructional ever. Honestly, so many 20 minute videos, and this dude knocks it out of the park.

NewParadigmAI-zmlj
Автор

Love your videos bro! Easy and simple to understand tutorials and explanations.

abubakr
Автор

simple enough and straight to the point
thanks!

abdullahattia
Автор

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.

kenbajema
Автор

Thank you so much Indently! This is the easiest way to make a virtual environment. Please continue to make videos; they are valuable!

throbicon
Автор

As a beginner I was lost but now it all makes sense. Thanks!

amigobrewbrew
Автор

As someone who is just starting out and really needs the things that are understood by everyone, I appreciate this video. Thanks.

trxgyre
Автор

bro this is the best tutorial on how to do this, clear, simple, perfectly illustrated for beginners

JamesRBentley
Автор

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!

andrewclayburn
Автор

after 4 hours of search, your tutorial saved my life . thanks

boitedamour
Автор

Thank you for your work! I've already learned a lot by this channel.

MushroomPower
Автор

couldn't have been more perfect. thanks!

rick.d
Автор

Helped a lot. Simple, clear, understandable!

fakalakaloo
Автор

This tutorial really helped me. Thank you very much!

go_away_plz
Автор

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.

cosmic_
Автор

I watch your videos even if I know the subject you teach. You are very good at transferring your knowledge. Thanks a lot.

bozok
Автор

Bruh, that was the best explanation on the internet! thank you!

TJTHEFOOTBALLPROPHET