I'm using conda to run tests against different versions of python, numpy, etc., but there are some common dependencies for all combinations of python/numpy. Is there a way to install such packages into all conda environments, or do I have to specify each by hand?
3 Answers
10
votes
6
votes
There's no simple command to do this, but one thing that may help is to make a metapackage using the conda metapackage command that depends on the packages you want, so that you can install just it. Something like conda metapackage mypackage 1.0 --dependencies package1 package2 package3 ....
Otherwise, you probably just need to make clever use of xargs.