Skip to content
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
@ncble

Description

@ncble

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions