我在Ubuntu 14.04中使用python 2.7。我使用以下命令安装了scikit-learn,numpy和matplotlib:
sudo apt-get install build-essential python-dev python-numpy \
python-numpy-dev python-scipy libatlas-dev g++ python-matplotlib \
ipython
但是当我导入这些包时:
from sklearn.cross_validation import train_test_split
它向我返回此错误:
ImportError: No module named sklearn.cross_validation
我需要做什么?