#43676: py27-scipy: Symbol not found: _PyUnicodeUCS2_AsASCIIString --------------------------+-------------------------------- Reporter: dmopalmer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-scipy | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: sean@…, michaelld@…, jwa@… (added) Old description:
py27-scipy fails with
:info:build ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString :info:build Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so
The variants are default for python27, and +gcc48 for py27-scipy.
I am running into this problem on two different computers that have similar but not identical setups.
New description: py27-scipy fails with {{{ :info:build ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString :info:build Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so }}} The variants are default for python27, and +gcc48 for py27-scipy. I am running into this problem on two different computers that have similar but not identical setups. -- Comment: Please confirm what variants of python27 are installed, by showing the output of: {{{ port installed python27 }}} I suspect you have actually selected the +ucs4 variant of python27, which will cause problems like this. See #36107 for a similar report against a different module. To avoid this problem, I suggest you don't use the +ucs4 variant of python27. Perhaps we should remove this variant from the python ports. -- Ticket URL: <https://trac.macports.org/ticket/43676#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X