[MacPorts] #64030: py38-astropy @5.0 fails import
MacPorts
noreply at macports.org
Sun Nov 21 16:57:42 UTC 2021
#64030: py38-astropy @5.0 fails import
--------------------------+--------------------
Reporter: odysseus9672 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
--------------------------+--------------------
This is very similar to ticket #64029, but the error text is different.
The recent update to astropy 5.0 for py38-astropy doesn't work. It's
missing a dependency, perhaps? When I try to use it I get an error.
This is on MacPorts 2.7.1 with XCode 11.5 on Mac OS X 10.15.7.
Here's the output:
{{{
Traceback (most recent call last):
File "./Analysis_Pix_v7.py", line 96, in <module>
import astropy.io.ascii as aptxt
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/astropy/__init__.py", line 42, in <module>
from . import config as _config # noqa: E402
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/astropy/config/__init__.py", line 10, in <module>
from .configuration import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/astropy/config/configuration.py", line 24, in <module>
from astropy.utils import find_current_module, silence
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/astropy/utils/__init__.py", line 17, in <module>
from .codegen import * # noqa
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/astropy/utils/codegen.py", line 13, in <module>
from .introspection import find_current_module
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/astropy/utils/introspection.py", line 12, in <module>
from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64030>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list