This repository was archived by the owner on May 9, 2025. It is now read-only.
This repository was archived by the owner on May 9, 2025. It is now read-only.
[bug report] Seed must be between 0 and 2**32 - 1; gym version too old #42
Open
Description
Describe the bug
- [1.] ValueError: Seed must be between 0 and 2**32 - 1
- [2.] ImportError: cannot import name 'prng' (for gym>=0.11.0)
Code example
The following code can reproduce the problem with the current version of origin/master:
python -m environments.dataset_generator --seed=1 --name=debug
System Info
gym version == 0.10.3
Solution
- [1.] Either add line seed = seed % 2^32 or comment out the line prin.seed(seed)
- [2.] see the link: downgrade gym to gym==0.10.3