[MacPorts] #70136: ImportError for pyexpat with python 3.8

MacPorts noreply at macports.org
Sun Jun 2 02:29:48 UTC 2024


#70136: ImportError for pyexpat with python 3.8
-------------------------+--------------------
 Reporter:  aarongeller  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 After upgrading my python 3.8, trying to run {{{from pyexpat import *}}}
 gives:

 {{{
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /lib-dynload/pyexpat.cpython-38-darwin.so, 0x0002): Symbol not found:
 _XML_SetReparseDeferralEnabled`

   `Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /lib-dynload/pyexpat.cpython-38-darwin.so`

   `Expected in:
 /Applications/MATLAB/MATLAB_Runtime/R2023a/bin/maci64/libexpat.1.8.7.dylib`
 }}}

 I was able to fix this by restoring the old version of
 {{{/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /lib-dynload/pyexpat.cpython-38-darwin.so}}}.

-- 
Ticket URL: <https://trac.macports.org/ticket/70136>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list