qq_21405639
Ark_Royal_
2016-01-02 03:20

Windows下 sklearn:numpy.ufunc has the wrong size

3
  • arcgis

各位大神求指点,我使用ArcGIS10.3自带的Python2.7.8(NumPy 1.7.1,matplotlib 1.3.0)自己去官网下载安装了scipy0.13.3和scikit-learn0.16.0,在编译scikit learn时出现numpy.dtype size问题,还没有运行其他代码,只是导入库就不行了:
print('Hello World')

import numpy & scipy

import numpy as np
from numpy import linalg
from numpy.linalg import norm
from scipy.spatial.distance import squareform, pdist

import sklearn.

import sklearn
from sklearn.manifold import TSNE
from sklearn.datasets import load_digits
from sklearn.preprocessing import scale

print "working"
图片说明

新手跪求指点,万分感谢!

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答