Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

MacOS Error for name 'trimesh' is not defined; Failed to import pyrender. Rendering will not work.

Open hbai98 opened this issue 10 months ago • 10 comments

(genesis) baihaotian@Bais-MacBook-Pro-2 space_time_inpaint % python test.py
objc[73181]: Class GLFWHelper is implemented in both /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/taichi/_lib/core/taichi_python.cpython-311-darwin.so (0x1733f4570) and /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/pygel3d/libPyGEL.dylib (0x317cd97c0). One of the two will be used. Which one is undefined. objc[73181]: Class GLFWApplicationDelegate is implemented in both /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/taichi/_lib/core/taichi_python.cpython-311-darwin.so (0x1733f45c0) and /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/pygel3d/libPyGEL.dylib (0x317cd9810). One of the two will be used. Which one is undefined. objc[73181]: Class GLFWWindowDelegate is implemented in both /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/taichi/_lib/core/taichi_python.cpython-311-darwin.so (0x1733f45e8) and /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/pygel3d/libPyGEL.dylib (0x317cd9838). One of the two will be used. Which one is undefined. objc[73181]: Class GLFWContentView is implemented in both /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/taichi/_lib/core/taichi_python.cpython-311-darwin.so (0x1733f4638) and /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/pygel3d/libPyGEL.dylib (0x317cd9888). One of the two will be used. Which one is undefined. objc[73181]: Class GLFWWindow is implemented in both /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/taichi/_lib/core/taichi_python.cpython-311-darwin.so (0x1733f46b0) and /opt/anaconda3/envs/genesis/lib/python3.11/site-packages/pygel3d/libPyGEL.dylib (0x317cd9900). One of the two will be used. Which one is undefined. Failed to import pyrender. Rendering will not work. [Genesis] [15:57:22] [INFO] ╭─────────────────────────────────────────────────────────────────────────────────────╮ [Genesis] [15:57:22] [INFO] │┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉ Genesis ┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉│ [Genesis] [15:57:22] [INFO] ╰─────────────────────────────────────────────────────────────────────────────────────╯ [Genesis] [15:57:22] [INFO] Running on [Apple M1 Pro] with backend gs.cpu. Device memory: 16.00 GB. [Genesis] [15:57:22] [INFO] 🚀 Genesis initialized. 🔖 version: 0.2.0, 🌱 seed: None, 📏 precision: '32', 🐛 debug: False, 🎨 theme: 'dark'. Traceback (most recent call last): File "/Users/baihaotian/code/space_time_inpaint/test.py", line 4, in scene = gs.Scene(show_viewer=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/genesis/lib/python3.11/site-packages/genesis/utils/misc.py", line 27, in new_init original_init(self, *args, **kwargs) File "/opt/anaconda3/envs/genesis/lib/python3.11/site-packages/genesis/engine/scene.py", line 148, in init self._visualizer = Visualizer( ^^^^^^^^^^^ File "/opt/anaconda3/envs/genesis/lib/python3.11/site-packages/genesis/vis/visualizer.py", line 26, in init self._context = RasterizerContext(vis_options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/envs/genesis/lib/python3.11/site-packages/genesis/vis/rasterizer_context.py", line 37, in init self.init_meshes() File "/opt/anaconda3/envs/genesis/lib/python3.11/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

hbai98 avatar Dec 19 '24 07:12 hbai98