Skip to content

dependence error #28

Description

@wzm2256

Resolved 237 packages in 0.88ms
Building sim-evals @ file:///workspaces/sim-evals-VLA
Building openpi-client @ git+https://github.com/Physical-Intelligence/openpi.git@3b39ac10c3cdd412166bad13b43842294db45a83#subdirectory=packages/openpi-client
Built openpi-client @ git+https://github.com/Physical-Intelligence/openpi.git@3b39ac10c3cdd412166bad13b43842294db45a83#subdirectory=packages/openpi-client
× Failed to build flatdict==4.0.1
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta:__legacy__.build_wheel failed (exit status: 1)

  [stderr]
  Traceback (most recent call last):
    File "<string>", line 14, in <module>
    File "/root/.cache/uv/builds-v0/.tmp4y96dG/lib/python3.11/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/root/.cache/uv/builds-v0/.tmp4y96dG/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
      self.run_setup()
    File "/root/.cache/uv/builds-v0/.tmp4y96dG/lib/python3.11/site-packages/setuptools/build_meta.py", line 520, in run_setup
      super().run_setup(setup_script=setup_script)
    File "/root/.cache/uv/builds-v0/.tmp4y96dG/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named 'pkg_resources'

  hint: This error likely indicates that `flatdict@4.0.1` depends on `pkg_resources`, but doesn't declare it as a build dependency. If `flatdict` is a first-party package, consider adding `pkg_resources` to its `build-system.requires`.
  Otherwise, either add it to your `pyproject.toml` under:

  [tool.uv.extra-build-dependencies]
  flatdict = ["pkg_resources"]

  or `uv pip install pkg_resources` into the environment and re-run with `--no-build-isolation`.

help: flatdict (v4.0.1) was included because sim-evals (v0.1.0) depends on isaaclab (v2.2.0) which depends on flatdict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions