The installation of sklearn is successful, but the error NO Module "sklearn" is reported when calling

sklearn is installed successfully, but an error is reported when calling NO Module "sklearn"

1. Problem description

When debugging the program, an error is reported that there is no sklearn, and then sklearn is installed with pip, and the installation is successful.

pip install sklearn

But when running the program, it still reports NO Module “sklearn”

2. Solutions

pip install scikit-learn

Guess you like

Origin blog.csdn.net/qq_45160840/article/details/127894417