creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-envScriptsactivate #activate env
deactivate #deactivate env
creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-envScriptsactivate #activate env
deactivate #deactivate env
python create virtualenv
pip install virtualenv # install first
cd projectfolder # go to project folder
python -m venv ./venv # Create a virtual environment named venv
Activate.ps1 # (powershell) start the file to start the environment
activate.bat # (cmd) start the file to start the environment
# if it worked you'll see a (venv) in front of your cursor path
making a virtual environment python
# First install virtualenv
!pip3 install virtualenv
# Go to the desired directory which you wish you run your virtual environment.
cd project_directory
# create a virtual environment called my_virtualenv
virtualenv my_virtualenv
### to run the virtual environemt run "activate" as in the following command
.my_virtualenvScriptsactivate
how to use virtual environment python
python3 -m pip install --user virtualenv
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us