[MacPorts] #63463: python27 @2.7.18_3: ImportError: No module named _Res

MacPorts noreply at macports.org
Tue Sep 7 21:19:16 UTC 2021


#63463: python27 @2.7.18_3: ImportError: No module named _Res
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  jmroot
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:              |       Port:  python27
------------------------+----------------------
 I can't upgrade python27 +univeral from 2.7.18_2 to 2.7.18_3 on High
 Sierra. It fails in the destroot phase:

 {{{
 Traceback (most recent call last):
   File "./scripts/cachersrc.py", line 7, in <module>
     import macresource
   File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-
 ports-ryandesign-fork_lang_python27/python27/work/Python-2.7.18/Lib/plat-
 mac/macresource.py", line 6, in <module>
     from Carbon import Res
   File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-
 ports-ryandesign-fork_lang_python27/python27/work/Python-2.7.18/Lib/plat-
 mac/Carbon/Res.py", line 4, in <module>
     from _Res import *
 ImportError: No module named _Res
 make[1]: *** [installmacsubtree] Error 1
 }}}

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


More information about the macports-tickets mailing list