Getting PyCharm to import sklearn

后端 未结 8 1116
盖世英雄少女心
盖世英雄少女心 2021-02-18 22:32

Beginner here.

I’m trying to use sklearn in pycharm. When importing sklearn I get an error that reads “Import error: No module nam

8条回答
  •  猫巷女王i
    2021-02-18 22:45

    For Mac OS:

    PyCharm --> Preferences --> Project Interpreter --> Double Click on pip (a new window will open with search option) --> mention 'Scikit-learn' on the search bar --> Install Packages --> Once installed, close that new window --> OK on the existing window

    and you are done.

提交回复
热议问题