Ubuntu / Oracle Virtual Box上的sklearn模块抛出错误

时间:2017-02-11 21:30:23

标签: python ubuntu scikit-learn conda

我在某些scikit-learn模块上收到undefined symbol:错误消息。完整的错误消息是

ImportError: /home/<user>/anaconda3/lib/python3.6/
site-packages/sklearn/svm/libsvm.cpython-36m-i386-linux-gnu.so: 
undefined symbol: __cxa_throw_bad_array_new_length

这不发生在主程序包上,import sklearn没有错误。但是,加载模块如

from sklearn import svm
from sklearn import cluster
...

失败。 我的系统细节:

主机在Windows 10,64位上运行Oracle Virtual Box 5.1.14。在VB中,我正在使用Ubuntu 16.10,32位(32位而不是64位以运行TensorFlow)并通过Anaconda安装Python 3.6。 conda list已安装scikit-learn 0.18.1 np111py36_1

感谢您的支持。

0 个答案:

没有答案