TA的每日心情 | 无聊 4 天前 |
---|
签到天数: 530 天 连续签到: 2 天 [LV.9]测试副司令
|
1测试积点
请问下安装sklearn库时按照步骤安装,import sklearn没有报错,正常,但是引入时出现No module named 'sklearn.sklearn'错误,请问怎么解决谢谢
- Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] on win32
- Type "copyright", "credits" or "license()" for more information.
- from sklearn.sklearn.model_selection import KFold
- Traceback (most recent call last):
- File "", line 1, in
- from sklearn.sklearn.model_selection import KFold
- ModuleNotFoundError: No module named 'sklearn.sklearn'
- import sklearn
复制代码
|
|