Python package for the Reinforcement Learning course at Durham University
Project description
Reinforcement Learning Durham
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
rldurhambut either a general Python problem or a problem withgymnasium. - 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
swighas to be explicitly installed beforerldurham(as above) because of dependency issues with the packages used byrldurham, in particulargymnasium. - Under python
3.11,swigmay need to be installed using system tools (i.e. not viapip), better avoid3.11and use3.10instead. - If you see errors mentioning
Box2D, this is related togymnasium, which requiresBox2D, which requiresswig, which frequently causes problems. Installing from a clean environment, first installingswig, and using Python 3.10 (avoiding higher versions) are the best ways to avoid these problems.
- Remember that
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rldurham-0.1.0.tar.gz.
File metadata
- Download URL: rldurham-0.1.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501fc7f3ef83e68a1e82bda1cabd83a45c2b069179c9d39243db2c1cb3b9de79
|
|
| MD5 |
1f31b1837932fd5c5ca98ff616bafa9f
|
|
| BLAKE2b-256 |
bfb00b8f3e170590b0e3c008aa12cd0a59f6c42807349b73fabda2f5278d2fdb
|
File details
Details for the file rldurham-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rldurham-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72e3a75dcf14e36379af91a7ef588f48d20e699ab6007a280a97496f9b4a5f15
|
|
| MD5 |
e8da9ae8aaf6186c9e4ef1c9e2460303
|
|
| BLAKE2b-256 |
d39cfca4a384c078873786578de07e2591f3e6b1937dd33e48b5edd8d8cac436
|