Skip to main content

Reinforcement Learning Durham

tests codecov

build PyPI version

doc License: GPL v3

A Python package for the Reinforcement Learning courses at Durham University.

See the notebooks and gallery for some examples.

Installation

Start with a clean Python 3.10 environment (recommended) and install/upgrade via terminal as

pip install swig
pip install --upgrade rldurham

or Jupyter notebook as

!pip install swig
!pip install --upgrade rldurham

Known Issues

  • Have you tried turning it off and on again? Restarting your kernel and/or restarting the install from a fresh and clean Python 3.10 environment resolves most problems.
  • Check the error messages! In many cases, they provide useful information and in many cases the problem is not with rldurham but either a general Python problem or a problem with gymnasium.
  • On NCC you need to create your own custom environment/kernel (as for the deep learning coursework); you cannot pip install ... things in the default environment (it may first look as if you can, but then the packages cannot be found).
  • Problems related to swig
    • Remember that swig has to be explicitly installed before rldurham (as above) because of dependency issues with the packages used by rldurham, in particular gymnasium.
    • Under python 3.11, swig may need to be installed using system tools (i.e. not via pip), better avoid 3.11 and use 3.10 instead.
    • If you see errors mentioning Box2D, this is related to gymnasium, which requires Box2D, which requires swig, which frequently causes problems. Installing from a clean environment, first installing swig, and using Python 3.10 (avoiding higher versions) are the best ways to avoid these problems.

Release files for rldurham 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rldurham 0.1.1
File Size Uploaded
rldurham-0.1.1.tar.gz 34.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rldurham 0.1.1
File Interpreter ABI Platform
rldurham-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 65.9 kB

Release files / rldurham-0.1.1.tar.gz

Download URL rldurham-0.1.1.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d8ea449ae408ff9dbf61e45f9ca32cacf7616cf8d36db378a3e8cb6fdd5ead63
BLAKE2b-256 checksum
How to use checksums
9469a348fd22e85128fb57565edbf79decc01952a8d1f583a0de79c1a3ba9416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / rldurham-0.1.1-py3-none-any.whl

Download URL rldurham-0.1.1-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86d6eb376ebe9f454559b52fb0514b5abd47ef3385d555f885d6b7e5040814b4
BLAKE2b-256 checksum
How to use checksums
aae82b279576e553fef7a58958eedb9d2e4387c2a2a95f5510a705cea12b37ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page