There are various ways to run the Jupyter server, one is to type: jupyter notebook To use Python I recommend using the Jupyter notebook (a popular tool in scientific computation - and also the tool used to build this course).
If you are using a machine for which you do not have administrative rights (for example a University lab computer) instead you should type: pip install -user nashpyĪnd pip install -user axelrod=4.8.0 Using Jupyter ¶ This should download and install the required software. Installing game theory libraries: ¶Īfter each one of those press Enter. You now have Python along with Sympy, Numpy, Scipy and a number of other useful libraries. Once you've done that, type exit() and press Enter to exit the Python prompt. The version numbers might look different but the word Anaconda should be there. Type "help", "copyright", "credits" or "license" for more information. This should display a screen that looks something like: Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:53:06) To check your install has worked correctly open: There are installation instruction online: Be sure to choose Python 3 and not Python 2. Go to the following link and download the installer corresponding to your system. The most straightforward way to install Python and the required library and any operating system (Windows, OSX, linux) is to use a scientific distribution called Anaconda. Installing Python and the required libraries ¶ Axelrod: for Iterated Prisoner Dilemma experiments.Nashpy: for Nash equilibria computation.Scipy: mainly for the numerical solver of differential equations.The Python 3 code used in this course uses the following external libraries: