Use Conda environment in pycharm

后端 未结 6 2009
南方客
南方客 2020-11-28 05:41

Conda env is activated using source activate env_name.

How can I activate the environment in pycharm ?

6条回答
  •  醉话见心
    2020-11-28 05:51

    How about environment.yml

    Pycharm can create a new conda environment indeed. Unfortunately, until this issue is fixed, it won't offer environment.yml support, which means it won't install the dependencies declared there.

    When working on a project based on such a file, you need to create / update the dedicated env manually on your machine:

    conda env create -n 
    

    Then remember to update each time environment.yml changes (from you or upstream).

    conda env update -n 
    

    Not ideal

提交回复
热议问题