Create a Python virtual environment in Windows with VS Code

preview_player
Показать описание
Running your Python project in a virtual environment is a best practice! Do you want to use different versions of libraries for different projects? Or do you want to make sure your Python project runs on different systems? A virtual environment is the solution!

⭐️ All the terminal commands I use⭐
python -m venv venv
venv\Scripts\Activate
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force

⭐️ Follow me ⭐

❗ Some of my videos contain affiliate links. When you click on these kind of links, I get a small percentage in case you make a purchase via the website. Be aware that this doesn't cost you anything - you never pay more than the standard retail price.

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

Thomas you are my hero. Thank you so much.

"Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force" was the missing piece <3

peteramier
Автор

0:16 you could have used different its all confusing which venv is what! Like name the virtual environment something different

Ndheti
Автор

if anyone is having trouble activating the environment, change directory to your env folder and then type ./Scripts/activate

thetoolzshed
Автор

Sir it saying python was not found;run without argument to install from Microsoft store

tarunop
Автор

please sir how do i import aifc in python modul

anovus.
Автор

Sir it saying could not autoloaded module

rkchowdaryrkchowdary
welcome to shbcf.ru