I am using python 2.7 in Ubuntu 14.04. I installed scikit-learn, numpy and matplotlib with these commands:
sudo apt-get install build-essential python-dev python-numpy
python-numpy-dev python-scipy libatlas-dev g++ python-matplotlib
ipython
But when I import these packages:
from sklearn.cross_validation import train_test_split
It returns me this error:
ImportError: No module named sklearn.cross_validation
What I need to do?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…