我正在尝试在 debian wheezy 上的 virtualenv 中使用 pip 安装 matplotlib 。
我收到以下消息:
Running setup.py egg_info for package matplotlib
GotoBLAS : Architecture Initialization failed. No initialization function found.
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.3.1]
python: yes [2.7.3 (default, Jan 2 2013, 13:56:14) [GCC
4.7.2]]
platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
Complete output from command python setup.py egg_info:
GotoBLAS : Architecture Initialization failed. No initialization function found.
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.3.1]
python: yes [2.7.3 (default, Jan 2 2013, 13:56:14) [GCC
4.7.2]]
platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
----------------------------------------
我以前有过libopenblas-dev
安装。事实上,我设法使用相同的过程在 Ubuntu Gnome 13.10 中安装 matplotlib。
有任何想法吗?
更新1:
我终于从发行包中安装了 matplotlib。然后基于这个问题 https://stackoverflow.com/questions/14571454/virtualenv-specifing-which-packages-to-use-system-wide-vs-local我使用标志创建了一个环境--system-site-packages
。
为了测试安装,我尝试在 python 中导入 matplotlib:
>>> import matplotlib
GotoBLAS : Architecture Initialization failed. No initialization function found.
但我得到了同样的错误:(。
更新2:
I found 这个帖子 https://groups.google.com/forum/#!msg/theano-users/SbH4l6zreLU/BK_PGiY9J9UJ。这是同样的错误,而且是在 KVM 上,就像我一样。也许这个错误与 KVM 有关?
我刚刚安装了 matplotlib,在 VirtualBox 上运行的 debian wheezy 中没有出现任何问题。但我确实需要将它安装在 KVM 机器上。
更新3:
尝试在同一系统中导入 numpy 时会出现相同的错误:
>>> import numpy
GotoBLAS : Architecture Initialization failed. No initialization function found.