本文介绍了如何在Ubuntu中将numpy与OpenBLAS而不是Atlas一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我一直在寻找一种使用OpenBLAS安装/编译Numpy的简便方法,但没有找到简单的答案.我看过的所有文档都对像我这样不习惯编译软件的人授予了太多的知识.Ubuntu中有两个与OpenBLAS相关的软件包:libopenblas-baselibopenblas-dev.一旦安装了它们,我应该怎么做才能再次与它们一起安装Numpy?谢谢!

I have looked for an easy way to install/compile Numpy with OpenBLAS but didn't find an easy answer. All the documentation I have seen takes too much knowledge as granted for someone like me who is not used to compile software.There are two packages in Ubuntu related to OpenBLAS : libopenblas-base and libopenblas-dev.Once they are installed, what should I do to install Numpy again with them?Thanks!

请注意,安装了这些OpenBLAS软件包后,Numpy不再起作用:无法导入:ImportError:/usr/lib/liblapack.so.3gf:未定义的符号:ATL_chemv.当为Theano安装网站说明并为Ubuntu安装Theano时,也会发生问题

Note that when these OpenBLAS packages are installed, Numpy doesn't work anymore: it can't be imported: ImportError: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv.The problem occurs as well when installing Theano with their website instructions for Ubuntu.

已经在此处注意到了这一点.

This was noticed here already.

推荐答案

运行sudo update-alternatives --all并将liblapack.so.3gf设置为/usr/lib/lapack/liblapack.so.3gf

这篇关于如何在Ubuntu中将numpy与OpenBLAS而不是Atlas一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 11:29