environnement virtuel python
python3 -m venv env
python -m virtualenv env #py2
source env/bin/activate
#all this is on same directory
Modern Mosquito
python3 -m venv env
python -m virtualenv env #py2
source env/bin/activate
#all this is on same directory
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
# for windows 10
py -m venv myvirtualenv
myvirtualenv\Scripts\activate #!!!! use "\" not "/" !!!!!
pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
#we assume our environment name is Tensorflow
conda deactivate Tensorflow
#conda activate your_environment_name, e.g. let's assume our environment name is Tensorflow
conda activate Tensorflow
#And to deactivate, just replace activate with deactivate: e.g.
conda deactivate Tensorflow