Can conda install
be used to install source-distributions (i.e. non-archived import packages that have a setup.py
)?
Conda will work with any version of Python, however it is limited to Anaconda and Conda environments. Pip installs all package dependencies, regardless of whether they conflict with other packages already installed.
Conda analyzes each package for compatible dependencies, and how to install them without conflict. If there is a conflict, Conda will let you know that the installation cannot be completed. By comparison, Pip installs all package dependencies regardless of whether they conflict with other packages already installed.
Building a conda package from the wheel file also has the advantage that any clobbering is more likely to happen at build time and not runtime. The third way is to use pip to install a wheel file into a conda environment. Some conda users have used this option safely.
If you want to build conda packages for PyPI packages, the recommended way is to use conda skeleton pypi package and use conda build package on the recipe that it creates. To install the package, use conda install --use-local package (here and elsewhere, package is the name of the PyPI package you wish to install).
Yes and no. You can not conda install
per se. However, as the Conda documentation says, Conda ships with pip, so you should be able to pip install -e .
your package. You can also install with traditional python setup.py [install|develop]
.
Remember to activate your Conda environment before installation if you're using one instead of site packages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With