我正在嘗試此代碼片段。我使用scikits.learn 0.8.1 from scikits.learn import linear_model
import numpy as np
num_rows = 10000
X = np.zeros([num_rows,2])
y = np.zeros([num_rows,1])
# assume here I have filled in X
如何解決此導入錯誤?謝謝。 import scikits.statsmodels.api as sm
File "C:\Python27\lib\site-packages\scikits\__init__.py", line 1, in <module>
__import__('pkg_resources').declare_namespace(__name__)
ImportEr