[MacPorts] #59466: python27: ImportError: No module named _collections

MacPorts noreply at macports.org
Thu Nov 7 07:34:11 UTC 2019


#59466: python27: ImportError: No module named _collections
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  jmroot
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  python27  |
-----------------------+----------------------

Comment (by rmottola):

 no, it does not exist, instead a file called _collections_failed.so
 exists, which is not confidence inspiring.

 the file is 23rd October 2019, so from one of the latest builds.

 Actually, the majority of the files there are renamed "failed":


 {{{
 $ ls
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /lib-dynload
 ColorPicker.so                  _Win.so
 _testcapi_failed.so
 MacOS.so                        _bisect_failed.so
 array_failed.so
 Nav.so                          _bsddb_failed.so
 audioop_failed.so
 OSATerminology.so               _codecs_cn_failed.so
 autoGIL_failed.so
 Python-2.7.17-py2.7.egg-info    _codecs_hk_failed.so
 binascii_failed.so
 _AE.so                          _codecs_iso2022_failed.so
 bz2_failed.so
 _AH.so                          _codecs_jp_failed.so
 cPickle_failed.so
 _App.so                         _codecs_kr_failed.so
 cStringIO_failed.so
 _CF_failed.so                   _codecs_tw_failed.so
 cmath_failed.so
 _CG_failed.so                   _collections_failed.so
 crypt_failed.so
 _CarbonEvt.so                   _csv_failed.so
 datetime_failed.so
 _Cm.so                          _ctypes_failed.so
 dbm_failed.so
 _Ctl.so                         _ctypes_test_failed.so
 fcntl_failed.so
 _Dlg.so                         _curses_failed.so
 future_builtins_failed.so
 _Drag.so                        _curses_panel_failed.so         gestalt.so
 _Evt.so                         _elementtree_failed.so
 grp_failed.so
 _File.so                        _functools_failed.so            icglue.so
 _Fm.so                          _hashlib_failed.so
 itertools_failed.so
 _Folder.so                      _heapq_failed.so
 math_failed.so
 _Help.so                        _hotshot_failed.so
 mmap_failed.so
 _IBCarbon.so                    _io_failed.so
 nis_failed.so
 _Icn.so                         _json_failed.so
 operator_failed.so
 _Launch_failed.so               _locale_failed.so
 parser_failed.so
 _List.so                        _lsprof_failed.so
 pyexpat_failed.so
 _Menu.so                        _multibytecodec_failed.so
 readline_failed.so
 _Mlte.so                        _multiprocessing_failed.so
 resource_failed.so
 _OSA.so                         _random_failed.so
 select_failed.so
 _Qd.so                          _scproxy_failed.so
 strop_failed.so
 _Qdoffs.so                      _sha256_failed.so
 syslog_failed.so
 _Qt.so                          _sha512_failed.so
 termios_failed.so
 _Res.so                         _socket_failed.so
 time_failed.so
 _Scrap.so                       _sqlite3_failed.so
 unicodedata_failed.so
 _Snd.so                         _ssl_failed.so
 zlib_failed.so
 _TE.so                          _struct_failed.so
 }}}

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


More information about the macports-tickets mailing list