Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909835

Summary: [science overlay] dev-python/specutils has missing dependency (ndcube)
Product: Gentoo Linux Reporter: Konstantin Tokarev <annulen>
Component: OverlaysAssignee: Gentoo Science Related Packages <sci>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.