本文介绍了安装umfpack后在iPython中导入错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在安装了umfpack软件包(我需要)之后,我不再可以在iPython Notebook中导入任何软件包.任何导入命令,例如
After installing the umfpack package (which I needed) I can no longer import any packages in an iPython Notebook. Any import command e.g
import numpy as np
导致一系列错误,最后一个错误是
results in a stream of errors the last of which is
/Users/murray/anaconda/lib/python2.7/site-packages/numpy/core/__init__.py in <module>()
12 os.environ[envkey] = '1'
13 env_added.append(envkey)
---> 14 from . import multiarray
15 for envkey in env_added:
16 del os.environ[envkey]
ImportError: dlopen(/Users/murray/anaconda/lib/python2.7/site-packages/numpy/core/multiarray.so, 2): Library not loaded: @rpath/libopenblas-r0.2.18.dylib
Referenced from: /Users/murray/anaconda/lib/python2.7/site-packages/numpy/core/multiarray.so
Reason: image not found
我真的不在我的研究范围之内,因此,如果您可以提供帮助,请假设我是一个新手.
I'm really out of my depth herem so if you can help, assume I am a total novice.
推荐答案
有人通过重新安装所有内容为我修复了该问题.
Someone fixed it for me by reinstalling everything.
这篇关于安装umfpack后在iPython中导入错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!