I have installed sklearn through pip install sklearn. When running, it shows that there is no such module. ModuleNotFoundError: No Module named 'sklearn' Solution

 pip install Skleran does not work, it can be installed, but the specific reason why it cannot be used is not clear yet

solution:

The first step: python -m pip show sklearn is displayed as follows

Step 2: Install skleran according to the prompt given in the figure above: python -m pip install scikit-learn

 In this way, the installation is successful and can be used normally.

 

Guess you like

Origin blog.csdn.net/P13643822101/article/details/128177439