我在mac上运行python脚本,在“brew install paraview”之后,很多软件包都不能正常工作:import vtk,或者导入scipy.linalg ...... 以下是其中一个错误:
你知道如何解决这个问题吗?
追踪(最近一次呼叫最后一次):
File "MV15.py", line 3, in <module>
import scipy.linalg as slin File "/usr/local/lib/python2.7/site-packages/scipy/linalg/__init__.py", line 159, in <module>
from .misc import * File "/usr/local/lib/python2.7/site-packages/scipy/linalg/misc.py", line 5, in <module>
from . import blas File "/usr/local/lib/python2.7/site-packages/scipy/linalg/blas.py", line 145, in <module>
from scipy.linalg import _fblas ImportError: dlopen(/usr/local/lib/python2.7/site-packages/scipy/linalg/_fblas.so, 2): Library not loaded: /usr/local/lib/gcc/x86_64-apple-darwin14.0.0/4.9.2/libgfortran.3.dylib Referenced from: /usr/local/lib/python2.7/site-packages/scipy/linalg/_fblas.so Reason: image not found