A
Installation and Use of Python
This appendix addresses 1 a few issues related to the installation and use of Python on
different platforms. In addition, the accessing of Python in the cloud is commented
in brief.
A.1 Recommendation: Install Anaconda and Odespy
If you install Anaconda, the only additional package you need for running
all the software in the present book, is Odespy. The original version
of Odespy was written in Python 2.7 by H.P. Langtangen and L. Wei
(https://github.com/hplgit/odespy), but since the sad loss of Prof. Langtangen in
October 2016, Thomas Anthony has made an updated version for Python 3.6
(https://github.com/thomasantony/odespy/tree/py36/odespy). In the present book,
we use this version of Odespy to demonstrate how ordinary differential equations
alternatively may be solved with ready-made software.
A.2 Required Software
If you, for some reason, decide to install something else than Anaconda, you should
know what software components that are required for running the programs in this
book:
• Python 2 version 3.6 [24]
• Numerical Python 3 (NumPy) [18, 19] for array computing
1 Some of the text is taken from the 4th edition of the book A Primer on Scientific Programming
with Python, by H. P. Langtangen, published by Springer, 2014.
2 http://python.org.
3 http://www.numpy.org.
© The Author(s) 2020
S. Linge, H. P. Langtangen, Programming for Computations - Python,
Texts in Computational Science and Engineering 15,
https://doi.org/10.1007/978-3-030-16877-3
311
Installation and Use of Python
This appendix addresses 1 a few issues related to the installation and use of Python on
different platforms. In addition, the accessing of Python in the cloud is commented
in brief.
A.1 Recommendation: Install Anaconda and Odespy
If you install Anaconda, the only additional package you need for running
all the software in the present book, is Odespy. The original version
of Odespy was written in Python 2.7 by H.P. Langtangen and L. Wei
(https://github.com/hplgit/odespy), but since the sad loss of Prof. Langtangen in
October 2016, Thomas Anthony has made an updated version for Python 3.6
(https://github.com/thomasantony/odespy/tree/py36/odespy). In the present book,
we use this version of Odespy to demonstrate how ordinary differential equations
alternatively may be solved with ready-made software.
A.2 Required Software
If you, for some reason, decide to install something else than Anaconda, you should
know what software components that are required for running the programs in this
book:
• Python 2 version 3.6 [24]
• Numerical Python 3 (NumPy) [18, 19] for array computing
1 Some of the text is taken from the 4th edition of the book A Primer on Scientific Programming
with Python, by H. P. Langtangen, published by Springer, 2014.
2 http://python.org.
3 http://www.numpy.org.
© The Author(s) 2020
S. Linge, H. P. Langtangen, Programming for Computations - Python,
Texts in Computational Science and Engineering 15,
https://doi.org/10.1007/978-3-030-16877-3
311
