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

problem running hello_genesis.py #221

Open
gulj9 opened this issue Dec 21, 2024 · 2 comments
Open

problem running hello_genesis.py #221

gulj9 opened this issue Dec 21, 2024 · 2 comments

Comments

@gulj9
Copy link

gulj9 commented Dec 21, 2024

Traceback (most recent call last):
File "/home/gentex/projects/Genesis/examples/tutorials/hello_genesis.py", line 4, in
import genesis as gs
File "/home/gentex/projects/Genesis/genesis/init.py", line 17, in
import torch
File "/home/gentex/miniconda3/envs/g5/lib/python3.10/site-packages/torch/init.py", line 367, in
from torch._C import * # noqa: F403
ImportError: /home/gentex/miniconda3/envs/g5/lib/python3.10/site-packages/torch/lib/../../nvidia/cusparse/lib/libcusparse.so.12: undefined symbol: __nvJitLinkComplete_12_4, version libnvJitLink.so.12

@zhouxian
Copy link
Collaborator

it seems you failed to import torch in the first place, so it might not be a genesis problem. Could you verify that torch is supported ?

@gulj9
Copy link
Author

gulj9 commented Dec 22, 2024

Thanks for your answer.
I finally succeeded to run the hello_genesis.py with using show_viewer=False
when setting show_viewer=True Im getting this error msg:

Exception in thread Thread-2 (_init_and_start_app):
Traceback (most recent call last):
File "/home/gentex/miniconda3/envs/g6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/gentex/miniconda3/envs/g6/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/gentex/projects/Genesis/genesis/ext/pyrender/viewer.py", line 1134, in _init_and_start_app
raise ValueError("Unable to initialize an OpenGL 3+ context")
ValueError: Unable to initialize an OpenGL 3+ context

Thanks again

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

2 participants