Opened 12 years ago

Closed 12 years ago

#36143 closed defect (duplicate)

[py-scipy] [@0.10.1_2+gcc44 ] [error in scipy.optimize]

Reported by: dds_santana@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: py-scipy

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm getting the error showed below when I try to use the module "scipy.optimize" (command: from scipy.optimize import *). I also attached a picture of the error message.

error mesage:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/optimize/__init__.py", line 135, in <module>
    from nonlin import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/optimize/nonlin.py", line 118, in <module>
    import scipy.sparse.linalg
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/__init__.py", line 175, in <module>
    from csr import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/csr.py", line 12, in <module>
    from sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/sparsetools/__init__.py", line 4, in <module>
    from csr import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/sparsetools/csr.py", line 25, in <module>
    _csr = swig_import_helper()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/sparsetools/csr.py", line 21, in swig_import_helper
    _mod = imp.load_module('_csr', fp, pathname, description)
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/sparsetools/_csr.so, 2): Symbol not found: ___emutls_get_address
  Referenced from: /opt/local/lib/gcc44/libstdc++.6.dylib
  Expected in: /usr/lib/libSystem.B.dylib
 in /opt/local/lib/gcc44/libstdc++.6.dylib

Attachments (1)

Captura de Tela 2012-09-14 às 10.37.56.png (65.3 KB) - added by dds_santana@… 12 years ago.
Error message

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by dds_santana@…

Error message

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Description: modified (diff)
Keywords: py-scipy scipy.optimize removed
Owner: changed from macports-tickets@… to ram@…

comment:2 Changed 12 years ago by skymoo (Adam Mercer)

Looks like fallout from #35770.

Jeremy: Would a rebuild address this?

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed

This looks like a dupe of #36093.

Note: See TracTickets for help on using tickets.