[MacPorts] #59466: python27: ImportError: No module named _collections
MacPorts
noreply at macports.org
Thu Oct 24 17:55:42 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):
Joshua, indeed it is python acting up, so it has nothing to do with ICU.
Here a transcript:
{{{
Artax:~ multix$ python2.7
Python 2.7.17 (default, Oct 23 2019, 23:39:52)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import collections
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py",
line 20, in <module>
from _collections import deque, defaultdict
ImportError: No module named _collections
>>>
}}}
Executing the same command on my other 10.5 Laptop (only difference: x86
vs x86-64) does not have issues.
--
Ticket URL: <https://trac.macports.org/ticket/59466#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list