Python Install Instructions
User Manual:
Open the PDF directly: View PDF .
Page Count: 1
Anaconda ipython installation (2.x+3.x)*(Linux+Windows)
All your potential previous python setups will stay uninterfered! All common python modules are
included. You can add exotic modules by conda install command.
http://continuum.io/downloads → install (Anaconda ipython 2.7)
create a switch between python 2.7 python 3.5 (linux+windows):
$> conda create -n py3k python=3 anaconda
test 2.7 and install one fancy module Xoxoxo:
$> conda install XoXoXo
$> ipython
python 2.8 (ctrl-d ends)
ipython> import XoXoXo -> OK!
switch between py2k py3k environments:
$> source activate py3k ((*)Windows: omit source command, Linux: include source comm.)
$> ipython python 3.4
$> source deactivate
test 3.4 and install the same fancy module there too (most modules have both versions!):
$> source activate py3k
$> conda install XoXoXo (python 3 tarvitsee omat versionsa monista modulleista)
$> ipython python 3.4 (*)
ipython> import XoXoXo -> OK!
$> source deactivate --> python 2 again (*)
update: after you choose the environment you want
$> conda update conda (needed sometimes)
$> conda update anaconda (smoke a cigarette meanwhile, play Nintendo or such…)
Python is interpreted, play with the interpreter: http://repl.it/languages (Alt keys not supported!?)
Find how to use the ipython interface and notebook properties.