Keep your Python libraries tidy by set up a virtual environment before install any new dependent libraries! Do this for your python projects!
Chapters:
0:00 Intro
0:09 Why box?!
1:06 Demo Start
1:55 Change to folder
2:02 Create Virtual env
2:49 Activate
3:24 Verify
3:45 Install Library Test
4:08 Outro
Related commands:
change directory:
`chdir your_folder_location`
Create a virtual environment by using venv module:
`python3 -m venv`
To active:
MacOS System: `source myenv/bin/activate`
Windows systems: `myenv\Scripts\activate.bat`
PowerShell: `myenv\Scripts\Activate.ps1`
Once virtual environment is activated,
`(venvName) C:\path\to\project\directory`
To check,
MacOS System: `which python`
Windows systems: `where python `
On this page of the site you can watch the video online Python Virtual Environment Setup with a duration of hours minute second in good quality, which was uploaded by the user 14a0 10 January 2023, share the link with friends and acquaintances, this video has already been watched 14 times on youtube and it was liked by 0 viewers. Enjoy your viewing!