3
ImportError:没有名为sklearn的模块
我按照以下说明安装了scikit-learn 即使我现在尝试再次运行: sudo pip install -U scikit-learn 我再次收到此消息,证明安装可以: Requirement already up-to-date: scikit-learn in /home/begueradj/.local/lib/python2.7/site-packages 但是我无法导入它: begueradj@begueradj-Sampo:~/Desktop/begueradj$ python Python 2.7.6 (default, Mar 22 2014, 22:59:38) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sklearn Traceback (most recent call last): File "<stdin>", line 1, in …