Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.12 #33

Open
hello-binit opened this issue Jan 15, 2025 · 0 comments
Open

Support Python 3.12 #33

hello-binit opened this issue Jan 15, 2025 · 0 comments

Comments

@hello-binit
Copy link
Contributor

hello-binit commented Jan 15, 2025

With .python_version set to 3.12, the following error:

$ uv run test_one_process.py
Using CPython 3.12.8
Removed virtual environment at: .venv
Creating virtual environment at: .venv
  × Failed to build `numpy==1.23.3`
  ├─▶ 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 8, in <module>
        File "/home/hello-binit/.cache/uv/builds-v0/.tmpz2TXTm/lib/python3.12/site-packages/setuptools/__init__.py", line 10, in <module>
          import distutils.core
      ModuleNotFoundError: No module named 'distutils'

      hint: `distutils` was removed from the standard library in Python 3.12. Consider adding a constraint (like `numpy >1.23.3`) to avoid building a version of `numpy` that depends on `distutils`.
  help: `numpy` (v1.23.3) was included because `stretch-mujoco` (v0.0.1) depends on `urchin` (v0.0.29) which depends on `numpy`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant