Conda: installing local development package into single conda environment

后端 未结 4 1417
醉梦人生
醉梦人生 2021-02-07 07:42

If I were using a virtualenv, I would activate my project\'s virtual environment then install the package I am developing in develop mode. Something like the following:

4条回答
  •  醉梦人生
    2021-02-07 08:35

    You can configure a list of default packages that will be installed into any conda environment automatically

    conda config --add create_default_packages pip --add create_default_packages ipython
    

    will make it so that conda create will always include pip and ipython in new environments (this command is the same as adding

    create_default_packages:
      - ipython
      - pip
    

    to your .condarc file).

    To create an environment without these, use conda create --no-default-packages.

提交回复
热议问题