Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909835 - [science overlay] dev-python/specutils has missing dependency (ndcube)
Summary: [science overlay] dev-python/specutils has missing dependency (ndcube)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-07 15:15 UTC by Konstantin Tokarev
Modified: 2023-07-10 15:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2023-07-07 15:15:00 UTC
Attempt to use Spectrum1D from dev-python/specutils leads to the following error:

Traceback (most recent call last):
  File "/home/ktokarev/./specutils_test.py", line 5, in <module>
    from specutils import Spectrum1D
  File "/usr/lib/python3.11/site-packages/specutils/__init__.py", line 17, in <module>
    from .spectra import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/specutils/spectra/__init__.py", line 5, in <module>
    from .spectrum1d import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/specutils/spectra/spectrum1d.py", line 15, in <module>
    from ndcube import NDCube
ModuleNotFoundError: No module named 'ndcube'


Spectrum1D class inherits NDCube so there is no way for it to be working without ndcube installation, and Spectrum1D is probably the most important part of the whole specutils.