Answers for "activate project environment in python"

8

how to activate virtual environment in python

# for windows 10

py -m venv myvirtualenv
myvirtualenvScriptsactivate #!!!! use "" not "/" !!!!!
Posted by: Guest on May-09-2021
0

activate a venv

# On Unix or MacOS, using the bash shell
source /path/to/venv/bin/activate

# On Unix or MacOS, using the csh shell
source /path/to/venv/bin/activate.csh

# On Unix or MacOS, using the fish shell
source /path/to/venv/bin/activate.fish

# On Windows using the Command Prompt
pathtovenvScriptsactivate.bat

# On Windows using PowerShell
pathtovenvScriptsActivate.ps1
Posted by: Guest on September-08-2021

Code answers related to "activate project environment in python"

Python Answers by Framework

Browse Popular Code Answers by Language