.. code-block:: console
$ pip install simgrid
+
+If you installed SimGrid to a non-standard directory (such as ``/opt/simgrid`` as advised earlier), you should tell python where
+to find the libraries as follows (notice the ``/lib`` added to the configured prefix).
+
+.. code-block:: console
+
+ $ PYTHONPATH="/opt/simgrid/lib" python your_script.py
+
+You can add the PYTHONPATH variable to your bash profile to not specify it each time by adding this line to your ``~/.profile``:
+``export PYTHONPATH=$PYTHONPATH:/opt/simgrid/lib/``