DEV Community

Saoni Deb
Saoni Deb

Posted on

Steps to create a virtual environment in Ananconda

Create and activate virtual environment:

conda -V
conda update conda
conda create -n <venvname> python=<x.x> anaconda
conda activate <venvname>
conda deactivate
Enter fullscreen mode Exit fullscreen mode

Install package in your venv:

conda install -n <venvname> <package>
Enter fullscreen mode Exit fullscreen mode

Discussion (0)