How do I install packages for python ML on ubuntu?
U cannot install it using apt-get. u need to install pip first. After you install pip, just google about how to install different packages using pip
I am having problems trying to install the following packages on Ubuntu:

scipy
numpy
matplotlib
pandas
sklearn

When I execute the command: 
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
I get the following message: 
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 libatlas-dev : Depends: libblas-dev but it is not going to be installed
 libatlas3-base : Depends: libgfortran3 (>= 4.6) but it is not going to be installed
                  Depends: libblas-common but it is not going to be installed
 python-dev : Depends: libpython-dev (= 2.7.11-1) but it is not going to be installed
              Depends: python2.7-dev (>= 2.7.11-1~) but it is not going to be installed
 python-scipy : Depends: python-decorator but it is not going to be installed
                Depends: libgfortran3 (>= 4.6) but it is not going to be installed
                Recommends: python-imaging but it is not going to be installed
 python-setuptools : Depends: python-pkg-resources (= 20.7.0-1) but it is not going to be installed
 rstudio : Depends: libjpeg62 but it is not going to be installed
           Depends: libgstreamer0.10-0 but it is not going to be installed
           Depends: libgstreamer-plugins-base0.10-0 but it is not going to be installed
           Recommends: r-base (>= 2.11.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


So the packages are failing to install, but I really need these packages to begin a new project, how can I successfully install these packages?