Installation

SimPy is implemented in pure Python and has no dependencies. SimPy runs on Python 2 (>= 2.7) and Python 3 (>= 3.2). PyPy is also supported. If you have pip installed, just type

$ pip install simpy

and you are done.

Alternatively, you can download SimPy and install it manually. Extract the archive, open a terminal window where you extracted SimPy and type:

$ python setup.py install

You can now optionally run SimPy’s tests to see if everything works fine. You need pytest and mock for this:

$ python -c "import simpy; simpy.test()"

Upgrading from SimPy 2

If you are already familiar with SimPy 2, please read the Guide Porting from SimPy 2 to 3.

What’s Next

Now that you’ve installed SimPy, you probably want to simulate something. The next section will introduce you to SimPy’s basic concepts.

Read the Docs v: 3.0.4
Versions
latest
stable
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.