Anaconda equivalent of “setup.py develop”

2019-06-20 17:47发布

问题:

How can I install a package under development to an Anaconda environment?

With pip:

pip install -e /path/to/mypackage

or with regular setuptools:

python /path/to/mypackage/setup.py develop

回答1:

Using either of those will work with Anaconda. Make sure that you have pip or setuptools installed into the conda environment you want to install into, and that you have it activated.



回答2:

There is also conda develop available now.

http://conda.pydata.org/docs/commands/build/conda-develop.html



回答3:

This is the equivalent to pip install -e .

conda install conda-build
conda develop .


标签: anaconda