[MacPorts] #36143: [py-scipy] [@0.10.1_2+gcc44 ] [error in scipy.optimize]

MacPorts noreply at macports.org
Fri Sep 14 07:28:25 PDT 2012


#36143: [py-scipy] [@0.10.1_2+gcc44 ] [error in scipy.optimize]
----------------------------+-------------------
  Reporter:  dds_santana@…  |      Owner:  ram@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  py-scipy       |
----------------------------+-------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => ram@…
 * cc: jeremyhu@… (added)
 * keywords:  py-scipy; scipy.optimize =>


Old description:

> 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

New description:

 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
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/36143#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list