visual env VS conda environment of python
1. There's two types of python environment in pycharm:
- virtualenv Environment
- conda environment
For conda environment, you can access them by conda command. The environment configuration is stored in /home/wenjing/anaconda3/envs/XX.
conda env list
conda activate py37
For virtual environment, you can access them by source command. The environment configuration is stored in Project/venv/bin/activate directory.
source ~/PycharmProjects/ProjectName/venv/bin/activate