运行代码时有个模块未安装,安装后有报错如下
ModuleNotFoundError: No module named 'sklearn'
但是去终端再安装时显示如下
Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple
Requirement already satisfied: sklearn in c:\anaconda3\envs\pytorch\lib\site-packages (0.0.post4)
终端的意思是我的模块已经安装好了,但是为什么运行时还报错显示没有安装