{"id":1053,"hash":"1921c82123ffae974e76fc9eed09d7f26576ffcf06fcd5612a35b1d1ab912c81","pattern":"Difference between scikit-learn and sklearn (now deprecated)","full_message":"On OS X 10.11.6 and python 2.7.10 I need to import from sklearn  manifold. \nI have numpy 1.8 Orc1, scipy .13 Ob1 and scikit-learn 0.17.1 installed.\n\nI used pip to install sklearn(0.0), but when I try to import from sklearn manifold I get the following: \n\n  Traceback (most recent call last):   File \"\", line 1, in\n     File\n  \"/Library/Python/2.7/site-packages/sklearn/init.py\", line 57, in\n       from .base import clone   File\n  \"/Library/Python/2.7/site-packages/sklearn/base.py\", line 11, in\n       from .utils.fixes import signature   File\n  \"/Library/Python/2.7/site-packages/sklearn/utils/init.py\", line\n  10, in      from .murmurhash import murmurhash3_32   File\n  \"numpy.pxd\", line 155, in init sklearn.utils.murmurhash\n  (sklearn/utils/murmurhash.c:5029) ValueError: numpy.dtype has the\n  wrong size, try recompiling.\n\nWhat is the difference between scikit-learn and sklearn?  Also, \nI cant import scikit-learn because of a syntax error","ecosystem":"pypi","package_name":"python-3.x","package_version":null,"solution":"You might need to reinstall numpy. It doesn't seem to have been installed correctly.\n\nsklearn is how you type the scikit-learn name in python (only the latter should be installed, the former is now deprecated).\n\nAlso, try running the standard tests in scikit-learn and check the output. You will have detailed error information there.\n\nAs a side note, do you have nosetests installed? Try: nosetests -v sklearn. You type this in bash, not in the python interpreter.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38733220/difference-between-scikit-learn-and-sklearn-now-deprecated","votes":81,"created_at":"2026-04-19T04:52:13.806286+00:00","updated_at":"2026-04-19T04:52:13.806286+00:00"}