Difference between revisions of "Software for integrating ODEs"

From Introduction to Reactor Design: 3K4
Jump to navigation Jump to search
m
m
Line 8: Line 8:
sudo easy_install ipython
sudo easy_install ipython
sudo easy_install readline
sudo easy_install readline
sudo easy_install numpy
# Download and install "gfortran-4.2.3.dmg"
sudo easy_install scipy
ipython
ipython
</syntaxhighlight>
</syntaxhighlight>

Revision as of 02:58, 20 February 2013

Python

Mac computers

  • Start the built-in Mac program called Terminal
  • Type the following commands:
# first install "easy install" 
sudo easy_install ipython
sudo easy_install readline
sudo easy_install numpy
# Download and install "gfortran-4.2.3.dmg"
sudo easy_install scipy
ipython

and you should some something like:

Kevins-MacBook-Pro:~ kevin$ ipython
Python 2.7.2 (default, Jun 20 2012, 16:23:33) 
Type "copyright", "credits" or "license" for more information.

IPython 0.13.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: