virtualenv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
0
0
virtualenv env
env\Scripts\activate
deactivate env
Thank you!
0
0
4
3
source env/bin/activate ## for mac usersenv\Scripts\activate\ ## for windows user"""You can deactivate your environment at any time with the deactivate command.activate"""
Thank you!
3
0
4.67
3
pip install virtualenv
Thank you!
3
0
4.25
4
sudo apt install python3-venv
python3 -m venv my-project-env
source my-project-env/bin/activate
Thank you!
4
0
4.3
10
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
Thank you!
10
0
Are there any code examples left?
New code examples in category Other