我正在尝试安装库GPy。虽然安装成功,但我对我的numpy版本有一个问题。
我的新版本是1.9.3>>> import numpy
>>> numpy.version.version
'1.9.3'
但当我为GPy执行python setup.py install时,它指的是numpy 1.10.0。我签入了python 2.7/site-packages,只有一个版本的numpy也存在于1.9.3中Using /home/vinod/anaconda/lib/python2.7/site-packages
Searching for scipy==0.16.0
Best match: scipy 0.16.0
Adding scipy 0.16.0 to easy-install.pth file
Using /home/vinod/anaconda/lib/python2.7/site-packages
Searching for numpy==1.10.0
Best match: numpy 1.10.0
Adding numpy 1.10.0 to easy-install.pth file
Using /home/vinod/anaconda/lib/python2.7/site-packages
Finished processing dependencies for GPy==0.8.8
vinod@vinod-Lenovo-G580:~/GPy$
因为它指的是另一个版本File"__init__.pxd", line 155, in init GPy.util.linalg_cython (GPy/util/linalg_cython.c:4238)
ValueError: numpy.dtype has the wrong size, try recompiling
有人能告诉我如何找到并删除Numpy1.10.0吗?