-
Notifications
You must be signed in to change notification settings - Fork 809
Open
Description
After cloning and creating venv using uv venv
, source .venv/bin/activate
, and finally uv pip install -r pyproject.toml --all-extras
, (in order to get the optional dependencies like supersuit, that is needed for ma_atari)
I get the following error:
(cleanrl) XX@XX:~/XX/CleanRL_repo/cleanrl$ uv pip install -r pyproject.toml --all-extras
Resolved 185 packages in 5.72s
Built expt==0.4.2
Built jax==0.4.8
Built bitmath==1.3.3.1
Built pathtools==0.1.2
Built orbax==0.1.9
× Failed to build `multi-agent-ale-py==0.1.11`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
copying multi_agent_ale_py/__init__.py -> build/lib.linux-x86_64-cpython-310/multi_agent_ale_py
copying multi_agent_ale_py/ale_python_interface.py -> build/lib.linux-x86_64-cpython-310/multi_agent_ale_py
running egg_info
writing multi_agent_ale_py.egg-info/PKG-INFO
writing dependency_links to multi_agent_ale_py.egg-info/dependency_links.txt
writing requirements to multi_agent_ale_py.egg-info/requires.txt
writing top-level names to multi_agent_ale_py.egg-info/top_level.txt
reading manifest file 'multi_agent_ale_py.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.md'
writing manifest file 'multi_agent_ale_py.egg-info/SOURCES.txt'
copying multi_agent_ale_py/ale_c_wrapper.cpp -> build/lib.linux-x86_64-cpython-310/multi_agent_ale_py
copying multi_agent_ale_py/ale_c_wrapper.h -> build/lib.linux-x86_64-cpython-310/multi_agent_ale_py
copying multi_agent_ale_py/tests/fixtures/tetris.bin -> build/lib.linux-x86_64-cpython-310/multi_agent_ale_py/tests/fixtures
running build_ext
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /XX/.cache/uv/sdists-v9/pypi/multi-agent-ale-py/0.1.11/CgPX-MM/src/build/temp.linux-x86_64-cpython-310
[ 1%] Building CXX object src/CMakeFiles/ale.dir/games/supported/Backgammon.cpp.o
[stderr]
/XX/.cache/uv/builds-v0/.tmpwFjuZp/lib/python3.10/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'multi_agent_ale_py.tests.fixtures' is absent
from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'multi_agent_ale_py.tests.fixtures' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'multi_agent_ale_py.tests.fixtures' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'multi_agent_ale_py.tests.fixtures' to be distributed and are
already explicitly excluding 'multi_agent_ale_py.tests.fixtures' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
/XX/.cache/uv/sdists-v9/pypi/multi-agent-ale-py/0.1.11/CgPX-MM/src/src/games/supported/Backgammon.cpp:34:6: error: ‘int8_t’ in namespace ‘std’ does not
name a type; did you mean ‘wint_t’?
34 | std::int8_t readPieces(const System* system, int offset) {
| ^~~~~~
| wint_t
Please note that when following the commands here, I get the same error message.
Do you have any idea ? #408 ? Thanks.
Metadata
Metadata
Assignees
Labels
No labels