Open traversaro opened 3 years ago
A similar problem (even if for pip) was originally reported by @mileslucas on Twitter, see https://twitter.com/mileslucas_/status/1436452596982554624 .
I do wonder if for the conda package there is any reason not to include all optional dependencies - since conda doesn't support extras like pip does?
To be clear, the issue here is that astropy is designed to be installable with minimal dependencies - but this then means having to install extra dependencies for various subpackages. For pip the solution is to do:
pip install astropy[all]
But there is no equivalent for conda.
This is on the agenda of the infra team to make the conda install pull in all the optional dependencies, too.
And, imo, I see no good reason why not make scipy a required dependency, even though only relatively small parts of the package requires it. After all pyyaml was made a dependency while only a tiny part required it, so it's already way over the "we ship with the absolute minimum" point.
Issue:
If I install
astropy
via conda-forge with:And then I try to execute some astropy code, I get an error that scipy is not installed:
I may be missing something and this may be even an upstream issue, but I wonder if scipy is actually a required dependency of astropy?
Environment (
conda list
):Details about
conda
and system (conda info
):