Does conda allow you to install a dependency into an environment as a development dependency?
I'm thinking of something like how bower does this with --save-dev
AFAICT, no, it does not. This repo represents work around options that might be useful elsewhere:
In short, it supplements a conda install with subsequent pip installs from a requirements.txt
and/or a requirements.dev
file. Since there can be inconsistencies in conda vs. pip packages (like different name variants etc.), there are use cases for having a combination of conda and pip. Also conda can support a pip
array in an environment.yml
file but the version specs for conda vs. pip packages are not compatible. Liberal use of pip check
is recommended for any combination of packages from different packaging systems.
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