Opened 9 years ago
Closed 4 years ago
#50597 closed defect (wontfix)
py27-scipy+atlas does not import properly
Reported by: | smithsp (Sterling Smith) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | py-scipy |
Description
After installing py27-scipy+atlas, scipy.interpolate will not import correctly. Here are steps I took and the output
~/OMFIT-source2 117 : sudo port install py27-scipy +atlas ---> Computing dependencies for py27-scipy ---> Deactivating py27-scipy @0.16.1_0+gfortran ---> Cleaning py27-scipy ---> Activating py27-scipy @0.16.1_0+atlas+gfortran ---> Cleaning py27-scipy ---> Scanning binaries for linking errors ---> No broken files found. ~/OMFIT-source2 118 : which python /opt/local/bin/python ~/OMFIT-source2 119 : python -c 'import scipy.interpolate' Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/interpolate/__init__.py", line 145, in <module> from .interpolate import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/interpolate/interpolate.py", line 15, in <module> import scipy.linalg File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/__init__.py", line 172, in <module> from .misc import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/misc.py", line 6, in <module> from .lapack import get_lapack_funcs File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/lapack.py", line 356, in <module> from scipy.linalg import _flapack ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/_flapack.so, 2): Symbol not found: _cgegv_ Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/_flapack.so Expected in: flat namespace in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/_flapack.so ~/OMFIT-source2 120 : sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.4 installed, MacPorts base version 2.3.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated ~/OMFIT-source2 121 : port outdated | grep scipy ~/OMFIT-source2 122 :
Note that atlas took a long time to build, during which I closed my laptop twice, which induced the computer sleep state. The next step I plan on taking is rebuilding atlas, but will not try that until tomorrow. If there are any pointers for anything else to try, I would appreciate it.
Change History (6)
comment:1 Changed 9 years ago by seanfarley (Sean Farley)
comment:2 Changed 9 years ago by smithsp (Sterling Smith)
Both are distinct possibilities, although I recently reinstalled all of python27 and required python packages for my application using macports, so I am pretty sure I have clobbered any macports pip installations. And I have now moved /usr/local out of the way, then reinstalled atlas, numpy +atlas, and scipy +atlas, but I am getting the same error.
comment:3 Changed 5 years ago by michaelld (Michael Dickens)
A -lot- of changes have taken place since this issue was opened. I'm going to go ahead and close the issue. If it is still an issue, please post an update as to what's going on, with updated logs. Please make sure you're using the latest version of MacPorts and latest ports (e.g., as obtained via "sudo port selfupdate").
comment:4 Changed 5 years ago by mf2k (Frank Schima)
Port: | py-scipy added; py27-scipy removed |
---|
comment:5 Changed 4 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to michaelld |
---|---|
Status: | new → assigned |
comment:6 Changed 4 years ago by michaelld (Michael Dickens)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Closing since no updates in 8 months.
Do you have anything installed in
/usr/local
(or did youpip install
anything)?