You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the excerpt of the error traceback from the log:
ImportError while loading conftest '/var/tmp/portage/dev-python/gwcs-0.18.3/work/gwcs-0.18.3/gwcs/tests/conftest.py'.
gwcs/__init__.py:72: in <module>
from .wcs import * # noqa
gwcs/wcs.py:8: in <module>
from astropy import units as u
/usr/lib/python3.10/site-packages/astropy/units/__init__.py:17: in <module>
from .quantity import *
/usr/lib/python3.10/site-packages/astropy/units/quantity.py:32: in <module>
from .quantity_helper import (converters_and_unit, can_have_arbitrary_unit,
/usr/lib/python3.10/site-packages/astropy/units/quantity_helper/__init__.py:10: in <module>
from . import helpers, function_helpers
/usr/lib/python3.10/site-packages/astropy/units/quantity_helper/function_helpers.py:116: in <module>
np.asscalar, np.alen,
/usr/lib/python3.10/site-packages/numpy/__init__.py:284: in __getattr__
raise AttributeError("module {!r} has no attribute "
E AttributeError: module 'numpy' has no attribute 'asscalar'. Did you mean: 'isscalar'?
The text was updated successfully, but these errors were encountered:
This is an issue with the installed astropy vs numpy version not gwcs as the traceback is when gwcs imports from astropy. In the future, include a pip freeze with such issues.
Here is the build log for
0.18.3
(the same error also occurs with0.16.1
) → https://ppb.chymera.eu/b28389.logThis is the excerpt of the error traceback from the log:
The text was updated successfully, but these errors were encountered: