[MacPorts] #64030: py38-astropy @5.0 fails import

MacPorts noreply at macports.org
Mon Nov 22 00:02:01 UTC 2021


#64030: py38-astropy @5.0 fails import
---------------------------+--------------------
  Reporter:  odysseus9672  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------

Comment (by odysseus9672):

 Yep, missing dependency in this one. Installing py38-packaging fixes this
 specific error, but leads to the following error:
 {{{
 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/io/ascii/__init__.py", line 7, in <module>
     from .core import (InconsistentTableError,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/astropy/io/ascii/core.py", line 31, in <module>
     from astropy.table import Table
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/astropy/table/__init__.py", line 68, in <module>
     import astropy.io.fits.connect
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/astropy/io/fits/connect.py", line 13, in <module>
     from astropy.table import Table, serialize, meta, Column, MaskedColumn
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/astropy/table/meta.py", line 7, in <module>
     import yaml
 ModuleNotFoundError: No module named 'yaml'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64030#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list