Python - Activate conda env through shell script

前端 未结 6 975
遥遥无期
遥遥无期 2020-11-30 03:14

I am hoping to run a simple shell script to ease the management around some conda environments. Activating conda environments via conda activate in a lin

6条回答
  •  一整个雨季
    2020-11-30 04:09

    What is the problem with simply doing something like this in your shell:

    source /opt/conda/etc/profile.d/conda.sh

    (The conda init is still marked as Experimental, and thus not sure if it is a good idea to use it yet).

提交回复
热议问题