各位大神求指點,我使用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 as np
from numpy import linalg
from numpy.linalg import norm
from scipy.spatial.distance import squareform, pdist
import sklearn
from sklearn.manifold import TSNE
from sklearn.datasets import load_digits
from sklearn.preprocessing import scale
print "working"
新手跪求指點,萬分感謝!
自己解決了。。安裝numpy1.9.1和scipy0.15.1即可解決