-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
"NameError: name 'trimesh' is not defined" on M3 Mac #90
Comments
I have the same issue. Seems to be "Pyrender" that can't handle OpenGL on Arm mac. Not sure how to solve it either ... |
Same issue on my end. :( |
on my M3, it seems to be related to not having ffmpeg installed. try brew update
brew install ffmpeg The hello, world example runs, but I can't see the render window. But at least there's no exception! :) |
M4 Mac, same issue... |
Try installing ffmpeg. Worked for me. |
Figured out why the viewer didn't show up. Got this message: [Genesis] [15:06:37] [WARNING] Non-linux system detected. In order to use the interactive viewer, you need to manually run simulation in a separate thread and then start viewer. See `examples/render_on_macos.py` For macs, the viewer needs to be run on a separate thread. |
Running this example script on Mac M4 results in the same error so this is not a general solution |
Hmmm. It's working for me with |
@iandanforth I'm on an M3 mac though... and I'm using the gs.metal backend for the example. Not sure if that matters. Also, see #27. For more details. |
You can try this. It works for me, I'm using M1 Mac. |
Same issue. Fixed by installing pyrender. |
Tried several examples, but kept getting this error. For examples, when I ran Beyond Rigid Bodies, I got:
I am sure trimesh has been installed in my Python environment.
The text was updated successfully, but these errors were encountered: