Getting PyCharm to import sklearn

后端 未结 8 1096
盖世英雄少女心
盖世英雄少女心 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条回答
  •  误落风尘
    2021-02-18 22:58

    To make sure you have Scikit-learn package installed on your PyCharm IDE, go to File Menu>Settings and search for Interpreter. Select Project Interpreter, and if you dont see Scikit-learn in the list of packages, click the + sign on the right end. It brings us another window with a search bar, where you can type 'Scikit-learn' and install (see screenshots). I hope this helps.

    Screenshots: ,

提交回复
热议问题