Last active
August 29, 2015 13:57
-
-
Save multidis/9850589 to your computer and use it in GitHub Desktop.
Scientific computing tools along with IPython and IJulia: setup on Ubuntu machine.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## numpy, scipy, etc. | |
sudo apt-get install libblas-dev liblapack-dev gfortran | |
sudo apt-get install python-numpy | |
sudo apt-get install python-scipy | |
sudo apt-get install python-matplotlib python-pandas python-sympy python-nose | |
## IPython notebook: use up-to-date repository | |
sudo add-apt-repository ppa:jtaylor/ipython | |
sudo apt-get update | |
sudo apt-get install ipython ipython-notebook ipython-qtconsole | |
sudo apt-get install python-zmq python-jinja2 python-sphinx | |
sudo apt-get install python-pygments python-tornado | |
## then follow https://github.com/JuliaLang/IJulia.jl | |
## create shortcut (run command in terminal type) | |
## ipython notebook --profile julia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## run IJulia notebook | |
ipython notebook --profile julia | |
## use menu to download as source code file (always good to save) | |
## convert notebook file to other formats | |
## default html: | |
ipython nbconvert notebook.ipynb | |
## other formats: http://ipython.org/ipython-doc/rel-1.0.0/interactive/nbconvert.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment