Windows Error: NameError: name 'trimesh' is not defined
[Genesis] [21:35:00] [INFO] ╭───────────────────────────────────────────────╮
[Genesis] [21:35:00] [INFO] │┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈ Genesis ┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈│
[Genesis] [21:35:00] [INFO] ╰───────────────────────────────────────────────╯
[Genesis] [21:35:00] [INFO] Running on [AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD] with backend gs.cpu. Device memory: 31.72 GB.
[Genesis] [21:35:00] [INFO] 🚀 Genesis initialized. 🔖 version: 0.2.0, 🌱 seed: None, 📏 precision: '32', 🐛 debug: False, 🎨 theme: 'dark'.
Traceback (most recent call last):
File "D:\PersonalFiles\PycharmProjects\Learning\PycharmProjects\pythonProject\Genesis\Demo.py", line 10, in
I installed trimesh and imported it, but the error still exists.
is ext.trimesh imported in the file?
is
ext.trimeshimported in the file?
yeath, I imort it. here are codes:
import genesis as gs import os import trimesh
print(trimesh.version) os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
gs.init(backend=gs.cpu)
scene = gs.Scene(show_viewer=True) plane = scene.add_entity(gs.morphs.Plane()) franka = scene.add_entity( gs.morphs.MJCF(file='xml/franka_emika_panda/panda.xml'), )
scene.build()
for i in range(1000): scene.step()
Same problem on Linux. I switched the package from pypi into github and have manually installed ffmpeg. Still have the problem:
Traceback (most recent call last):
File "/home/ubuntu/genesisi_toy/hello_world.py", line 6, in <module>
scene = gs.Scene(show_viewer=True)
File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/utils/misc.py", line 27, in new_init
original_init(self, *args, **kwargs)
File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/engine/scene.py", line 148, in __init__
self._visualizer = Visualizer(
File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/vis/visualizer.py", line 26, in __init__
self._context = RasterizerContext(vis_options)
File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/vis/rasterizer_context.py", line 37, in __init__
self.init_meshes()
File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/vis/rasterizer_context.py", line 52, in init_meshes
self.link_frame_mesh = trimesh.creation.axis(origin_size=0.03, axis_radius=0.025, axis_length=1.0)
NameError: name 'trimesh' is not defined
[Genesis] [13:56:30] [INFO] 💤 Exiting Genesis and caching compiled kernels...
Same error.
Same problem on Linux. I switched the package from pypi into github and have manually installed ffmpeg. Still have the problem:
Traceback (most recent call last): File "/home/ubuntu/genesisi_toy/hello_world.py", line 6, in <module> scene = gs.Scene(show_viewer=True) File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/utils/misc.py", line 27, in new_init original_init(self, *args, **kwargs) File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/engine/scene.py", line 148, in __init__ self._visualizer = Visualizer( File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/vis/visualizer.py", line 26, in __init__ self._context = RasterizerContext(vis_options) File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/vis/rasterizer_context.py", line 37, in __init__ self.init_meshes() File "/opt/conda/envs/showo/lib/python3.10/site-packages/genesis/vis/rasterizer_context.py", line 52, in init_meshes self.link_frame_mesh = trimesh.creation.axis(origin_size=0.03, axis_radius=0.025, axis_length=1.0) NameError: name 'trimesh' is not defined [Genesis] [13:56:30] [INFO] 💤 Exiting Genesis and caching compiled kernels...
you can try pip install OpenGL OpenGL-accelerate, i did it and found the error disappear, but another error (function 'glGetUniformLocation' not found) appeared, which is founded by others in windows. Considering your system is Linux, it may help
it's
pip install PyOpenGL PyOpenGL_accelerate
PS may need sudo apt-get install mesa-utils libgl1-mesa-glx libgl1-mesa-dri mesa-utils-extra depending on your setup https://pyrender.readthedocs.io/en/latest/examples/offscreen.html#offscreen-guide
(I am in a headless env)
I needed export PYOPENGL_PLATFORM=egl to run python -c 'from genesis.ext import trimesh' successfully.
For MacOS please see #32 - (partial) resolution can be found there
Hi guys,I meet same problem on Ubuntu,any suggestion?
I think, the error occur due to the error of GUI support
It is obvious when you modify the line 3-10 of
python3.9/site-packages/genesis/vis/rasterizer_context.py
try:
from genesis.ext import pyrender, trimesh
from genesis.ext.pyrender.jit_render import JITRenderer
except:
pass
to
from genesis.ext import pyrender, trimesh
from genesis.ext.pyrender.jit_render import JITRenderer
And I get GUI error from Linux backend, because I use remote SSH from Windows, instead of Linux OS
Hi guys,I meet same problem on Ubuntu,any suggestion?
try my suggestion above
Hi guys,I meet same problem on Ubuntu,any suggestion?
solved by https://github.com/Genesis-Embodied-AI/Genesis/issues/159#issuecomment-2558005819
Hi guys,I meet same problem on Ubuntu,any suggestion?
try my suggestion above
Thanks,but didn't work
it's
pip install PyOpenGL PyOpenGL_acceleratePS may need
sudo apt-get install mesa-utils libgl1-mesa-glx libgl1-mesa-dri mesa-utils-extradepending on your setup https://pyrender.readthedocs.io/en/latest/examples/offscreen.html#offscreen-guide(I am in a headless env)
I needed
export PYOPENGL_PLATFORM=eglto runpython -c 'from genesis.ext import trimesh'successfully.
Collecting PyOpenGL_accelerate Using cached PyOpenGL-accelerate-3.1.7.tar.gz (562 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: PyOpenGL_accelerate Building wheel for PyOpenGL_accelerate (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for PyOpenGL_accelerate (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [150 lines of output] /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/config/expand.py:125: SetuptoolsWarning: File '/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/readme.txt' cannot be found return '\n'.join( running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-312/OpenGL_accelerate copying OpenGL_accelerate/init.py -> build/lib.linux-x86_64-cpython-312/OpenGL_accelerate running build_ext /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/OpenGL_accelerate/wrapper.pxd tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/wrapper.pyx because it changed. [1/1] Cythonizing src/wrapper.pyx building 'OpenGL_accelerate.wrapper' extension creating build/temp.linux-x86_64-cpython-312/src x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/wrapper.c -o build/temp.linux-x86_64-cpython-312/src/wrapper.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/wrapper.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/wrapper.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/OpenGL_accelerate/formathandler.pxd tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/formathandler.pyx because it changed. [1/1] Cythonizing src/formathandler.pyx building 'OpenGL_accelerate.formathandler' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/formathandler.c -o build/temp.linux-x86_64-cpython-312/src/formathandler.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/formathandler.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/formathandler.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/arraydatatype.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/arraydatatype.pyx because it changed. [1/1] Cythonizing src/arraydatatype.pyx building 'OpenGL_accelerate.arraydatatype' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/arraydatatype.c -o build/temp.linux-x86_64-cpython-312/src/arraydatatype.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/arraydatatype.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/arraydatatype.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/errorchecker.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/errorchecker.pyx because it changed. [1/1] Cythonizing src/errorchecker.pyx building 'OpenGL_accelerate.errorchecker' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/errorchecker.c -o build/temp.linux-x86_64-cpython-312/src/errorchecker.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/errorchecker.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/errorchecker.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/vbo.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/vbo.pyx because it changed. [1/1] Cythonizing src/vbo.pyx building 'OpenGL_accelerate.vbo' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/vbo.c -o build/temp.linux-x86_64-cpython-312/src/vbo.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/vbo.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/vbo.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/nones_formathandler.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/nones_formathandler.pyx because it changed. [1/1] Cythonizing src/nones_formathandler.pyx building 'OpenGL_accelerate.nones_formathandler' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/nones_formathandler.c -o build/temp.linux-x86_64-cpython-312/src/nones_formathandler.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/nones_formathandler.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/nones_formathandler.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/latebind.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/latebind.pyx because it changed. [1/1] Cythonizing src/latebind.pyx building 'OpenGL_accelerate.latebind' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/latebind.c -o build/temp.linux-x86_64-cpython-312/src/latebind.o src/latebind.c:2912:12: warning: ‘pyx_pw_17OpenGL_accelerate_8latebind_8LateBind_5__nonzero’ defined but not used [-Wunused-function] 2912 | static int pyx_pw_17OpenGL_accelerate_8latebind_8LateBind_5__nonzero(PyObject *__pyx_v_self) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/latebind.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/latebind.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/buffers_formathandler.pyx tree = Parsing.p_module(s, pxd, full_module_name) Compiling src/buffers_formathandler.pyx because it changed. [1/1] Cythonizing src/buffers_formathandler.pyx building 'OpenGL_accelerate.buffers_formathandler' extension x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src -I/tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2 -I/home/mxie/genesis/include -I/usr/include/python3.12 -c src/buffers_formathandler.c -o build/temp.linux-x86_64-cpython-312/src/buffers_formathandler.o x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-x86_64-cpython-312/src/buffers_formathandler.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-312/OpenGL_accelerate/buffers_formathandler.cpython-312-x86_64-linux-gnu.so /tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-8nicslau/pyopengl-accelerate_65d0a8a7c5d9440d943502ef9df11dc2/src/numpy_formathandler.pyx tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
cdef int PyArray_CheckScalar( object )
int NPY_ARRAY_CARRAY
int NPY_ARRAY_FORCECAST
int PyArray_ISCARRAY( np.ndarray instance )
int PyArray_ISCARRAY_RO( np.ndarray instance )
cdef np.ndarray PyArray_Zeros(int nd, np.Py_intptr_t* dims, np.dtype, int fortran)
^
------------------------------------------------------------
src/numpy_formathandler.pyx:22:42: 'Py_intptr_t' is not a type identifier
Compiling src/numpy_formathandler.pyx because it changed.
[1/1] Cythonizing src/numpy_formathandler.pyx
Traceback (most recent call last):
File "/home/mxie/genesis/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/mxie/genesis/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mxie/genesis/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 438, in build_wheel
return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 426, in _build
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 407, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 113, in <module>
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 983, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 993, in run_command
super().run_command(command)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py", line 379, in run
self.run_command("build")
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 339, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 993, in run_command
super().run_command(command)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 136, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 339, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 993, in run_command
super().run_command(command)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 365, in run
self.build_extensions()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 481, in build_extensions
self._build_extensions_serial()
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 507, in _build_extensions_serial
self.build_extension(ext)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Distutils/build_ext.py", line 130, in build_extension
new_ext = cythonize(
^^^^^^^^^^
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/tmp/pip-build-env-og1mft0w/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/numpy_formathandler.pyx
[end of output]