Python installation on Ubuntu 14.04

The goal is to use Python with OpenCV under Ubuntu 14.04.

The first step is to install Python and its packages. I installed a Python package manager Anaconda.

wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.2.0-Linux-x86_64.sh
bash Anaconda-2.2.0-Linux-x86_64.sh
conda update -y conda
conda update -y anaconda
# install packages
conda install -y launcher
# array processing for numbers, strings, records, and objects
conda install -y numpy
# Scientific Library
conda install -y scipy
# plot
conda install -y matplotlib
conda install -y bokeh
conda install -c https://conda.binstar.org/bokeh ggplot
# Python IDE
conda install -y spyder
# Symbolic mathematics
conda install -y sympy
# Interactive computing
conda install -y ipython
# Image processing routines for SciPy
conda install -y scikit-image
# Machine Learning and Data Mining for SciPy
conda install -y scikit-learn
# Statistical computations and models for use with SciPy
conda install -y statsmodels
# read/write Excel 2007 xlsx/xlsm files
conda install -y openpyxl
# Python Imaging Library
conda install -y pillow
# Powerful data structures for data analysis, time series,and statistics
conda install -y pandas
# Non-Linear Least-Squares Minimization and Curve Fitting
conda install -y lmfit
# documentation generator
conda install -y sphinx
# interactive 2-dimensional plotting
conda install -y chaco
# Multidimensional data visualization across files
conda install -y glueviz
# statistical data visualization
conda install -y seaborn
conda install -y pytest
conda install -y psutil
conda install -y pep8
conda install -y pylint
conda install -y pyflakes
conda install -y rope
# pygtk
conda install -c https://conda.anaconda.org/mw pygtk2
# graph issue
conda install -y networkx
conda install -y pydot-ng
conda install -y graphviz
# Boost
conda install -y boost
# TensorFlow is a package for using Deep Learning
conda install -c https://conda.anaconda.org/jjhelmus tensorflow
# DTW and FastDTW, installation using pip instead of conda install
pip install dtw
pip install fastdtw
# For MedPy
conda install -c https://conda.anaconda.org/jcarlin nibabel
pip install medpy

I use an IDE spyder (Scientific PYthon Development EnviRonment), which is installed via Anaconda installation. From terminal, type spyder runs the IDE.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s