2021年3月24日星期三

How can I fix ( ModuleNotFoundError: No module named 'sklearn'.) error in spyder

I have installed spyder and python version 3.9.2 sklearn package is installed but when I write " from sklearn.datasets import load_iris" I find ModuleNotFoundError: No module named 'sklearn'. How can I fix this problem?

when I start spyder in the kernel is written "Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]" but I have python 3.9.2

https://stackoverflow.com/questions/66790448/how-can-i-fix-modulenotfounderror-no-module-named-sklearn-error-in-spyder March 25, 2021 at 06:41AM

没有评论:

发表评论