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

 

posted @ 2020-01-15 20:07  keeps_you_warm  阅读(156)  评论(0编辑  收藏  举报