If you have a running Python distribution on your system, the external dependencies of RLPy are most likly installed already. Try to install rlpy with distutils as discribed in the following sections. If you do not have a Python distribution installed or run into trouble during installation, have a look at the Dependencies section below.
RLPy is available on Pypi. The latest stable version can be installed directly with pip:
pip install rlpy
This command downloads the latest release of RLPy and installs it into the default package location of your python distribution. For more information of the disutils package systems, have a look at the documentation.
If you are using MacOS make sure you have the latest version of Xcode using:
Alternatively, you can download RLPy manually, extract the package and execute the installer by hand:
python setup.py install
RLPy is now successfully installed. For an introduction on how to use the framework have a look at Getting Started.
The current development version of RLPy can be installed in distutils editable mode with:
pip install -e git+https://bitbucket.org/rlpy/rlpy.git#egg=rlpy
This command clones the RLPy repository into the directory src/rlpy, compiles all C-extensions and tells the Python distribution where to find RLPy by creating a .egg-link file in the default package directory.
Alternatively, you can clone the RLPy directory manually by:
git clone https://bitbucket.org/rlpy/rlpy.git RLPy
and make your Python distribution aware of RLPy by:
python setup.py develop
We recommend using the Anaconda Python distribution. This software package comes with a current version of Python and many libraries necessary for scientific computing. It simplifies installing and updating Python libraries significantly on Windows, MacOS and Linux. Please follow the original installation instructions of Anaconda.
RLPy requires the following software besides Python:
If you are using the Anaconda Python distribution, you can install Tk by executing:
conda install tk
In addition, RLPy requires Python 2.7 to run. We do not support Python 3 at the moment since most scientific libraries still require Python 2.