-
Notifications
You must be signed in to change notification settings - Fork 373
Open
Description
Error A:
ImportError: No module named 'ale_py'
This is probably an installation error. Try: pip install pufferlib[AtariEnv]. Note that some environments have non-python
dependencies. These are included in PufferTank. Or, you can install manually by following the instructions provided by the
environment meaintainers. But some are finicky, so we recommend using PufferTank.
Resolution: actually install pufferlib[atari], not pufferlib[AtariEnv]
Error B:
warning: No `requires-python` value found in the workspace. Defaulting to `>=3.13`.
× No solution found when resolving dependencies for split (python_full_version >= '3.13' and sys_platform == 'linux'):
╰─▶ Because ale-py==0.9.0 has no wheels with a matching Python version tag (e.g., `cp313`) and pufferlib[atari]==3.0.0
depends on ale-py==0.9.0, we can conclude that pufferlib[atari]==3.0.0 cannot be used.
And because only pufferlib[atari]==3.0.0 is available and your project depends on pufferlib[atari], we can conclude
that your project's requirements are unsatisfiable.
hint: Wheels are available for `ale-py` (v0.9.0) with the following Python ABI tags: `cp38`, `cp39`, `cp310`,
`cp311`, `cp312`
help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking
and syncing.
Resolution: use ale-py with a version of at least 0.10.1, when cp313 wheels started
Error C:
APIUsageError: num_workers (16) > hardware cores (12) is disallowed by default. PufferLib multiprocessing is heavily
optimized for 1 process per hardware core. If you really want to do this, set overwork=True (--vec-overwork in our
demo.py).
Resolution: don't hardcode the number of workers in atari.ini - use automatic values, like the number of cores available, instead
Metadata
Metadata
Assignees
Labels
No labels