• 请问下安装sklearn库时按照步骤安装,import sklearn
  • python
    5.00元

请问下安装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


  • 旺盛的绿萝    2020-04-27 10:24:20
  • 阅读 1391    收藏 0    回答 1
  • 邀请
  • 收藏
  • 分享
发送
登录 后发表评论
  • 51testing软件测试圈微信