How to create Virtual Environment in Python
A tutorial on environements in python
- Different ways of creating python virtual environment
- 1. Using yml file
- 2. Using conda create command
- Other steps
This notebook shows, how to create python virtual environment
- Using yml file
- Using conda create command
* First create environment.yml file
* conda env create -f environment.yml
* conda create --name tablenv <br>
#### for specific version
* conda create -n tablenv python=3.7.7
Other steps
###### to activate conda env
* conda activate tablenv
###### to deactivate env
* conda deactivate tablenv
###### to make available for jupyter notebook
* conda install -c anaconda ipykernel
###### to make available for jupyter notebook
* ipython kernel install --user --name=tablenv
###### to remove environment
* conda env remove -n tablenv
###### list the environment
* conda env list
* conda info -e