无法运行py,No module named'sklearn

 ###### 问题遇到的现象和发生背景
怎么解决!运行py的时候出现了,我是没用过py那种,有帮忙
无法运行py,No module named'sklearn

C:\AI智能文章生成器>train. py
lraceback (most recent call last):
File“C:\AI智能文章生成器\train.py”,line 19in <module>
from sklearn.model selection import train test split
loduleNotFoundError: No module named'sklearn

 ###### 运行结果及报错内容

C:\AI智能文章生成器>pip install sklearn
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: sklearn in c: program files python38\liblsite-packages (0.0.postl)

 ###### 我想要达到的结果

pip install scikit-learn

那个缩写sklearn版本实际是空的

你的模块并没有下载好,可以在cmd中使用pip命令进行下载,pip命令出错的原因可能是你pip的版本太低了,要升级pip;或者是包的名称打错了,或者是其他问题,解决完以后记得加镜像,否则下载速度很慢。