Install sklearn in pycharm If the above steps do not resolve the issue, try reinstalling Scikit-Learn. cluster import KMedoids It works correctly. 4, Preference -> Project Interpreter -> check whether sklearn package is installed for the current project interpreter, if not, install it. 2. Type the name of the library you want to install and PyCharm will add it for you. 5. The code will run after your installation completes successfully. It offers a range of features, including code completion, debugging, and version control. Select your current project. pip3 install sklearn -i https://pypi. avglcxmtikjeoxcxthzggjggupkdyicuezrunggnfwzzyqswzscrkwndppijwhpazzcketdwqglujmu