|
各位大神好!
情况是这样的 我在python shell中输入help(sklearn)结果显示:
problem in sklearn - TypeError: '<' not supported between instances of 'str' and 'int'
在运行以下程序时
# -*- coding: utf-8 -*-
if __name__=='__main__':
from sklearn import datasets
显示如下:
TypeError: '<' not supported between instances of 'str' and 'int'
想问下这个要怎么解决?我下载了WHL文件重新安装了scikit-learn和numpy还是不行。
电脑是64位win10系统
python 3.6(32位)
安装如下:
cycler (0.10.0)
matplotlib (2.0.0)
numpy (1.12.1rc1+mkl)
pandas (0.19.2)
pip (9.0.1)
pyparsing (2.1.10)
python-dateutil (2.6.0)
pytz (2016.10)
scikit-learn (0.18.1)
scipy (0.18.1)
setuptools (28.8.0)
six (1.10.0)
谢谢大家!!
|
|