Install Python Anaconda and Use IPython Notebbok
Posted: Mon May 09, 2016 10:30 am
See the quickest way to install Anaconda in the next post (post #2).
Python Anaconda is a completely free Python distribution. It includes more than 400+ of the most popular Python packages for science, statistics, mathematics, engineering, and data analysis.
To install Anaconda package go to https://www.continuum.io/downloads and download the package installer that is compatible with your system.
For Ubuntu Linux, assume the downloaded installer is in the Downloads directory, then go to the terminal (Ctrl + Alt + T) and move to the directory where the installer is
To install, execute
Replace 4.x.x by the proper version, mostly current, agree with the licence terms and conditions and continue. By default Anaconda will be installed in your home directory.
To use for example IPython Notebook from Anaconda (Anaconda is a default virtual environment) and not system Python, move to the directory and activate Anaconda by executing
Clear terminal and while you're still in anaconda directory, check whether Python and IPython you're going to use come from Anaconda
Finally, exit, and type
This will take you to IPython/Jupyter Notebook.
Python Anaconda is a completely free Python distribution. It includes more than 400+ of the most popular Python packages for science, statistics, mathematics, engineering, and data analysis.
To install Anaconda package go to https://www.continuum.io/downloads and download the package installer that is compatible with your system.
For Ubuntu Linux, assume the downloaded installer is in the Downloads directory, then go to the terminal (Ctrl + Alt + T) and move to the directory where the installer is
Code: Select all
$ cd ~/Downloads
Code: Select all
bash Anaconda-4.x.x-Linux-x86.sh
chmod +x Anaconda-4.x.x-Linux-x86.sh
./Anaconda-4.x.x-Linux-x86.sh
To use for example IPython Notebook from Anaconda (Anaconda is a default virtual environment) and not system Python, move to the directory and activate Anaconda by executing
Code: Select all
cd ~/anaconda/
~/anaconda$ source bin/activate ~/anaconda/
Code: Select all
~/anaconda$ which ipython
Code: Select all
~/anaconda$ which python
Code: Select all
~/anaconda$ jupyter notebook