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 in running the simulator on Mac M1 #38

Open
kencanak opened this issue Jan 16, 2025 · 1 comment
Open

Problem in running the simulator on Mac M1 #38

kencanak opened this issue Jan 16, 2025 · 1 comment

Comments

@kencanak
Copy link

not sure if it can be run on mac M1, did a quick test on it, encountering the following error.

any idea?

pygame 2.6.1 (SDL 2.28.4, Python 3.10.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/Users/guff/workspace/sandbox/G1-sandbox/unitree_mujoco/simulate_python/unitree_mujoco.py", line 8, in <module>
    from unitree_sdk2py_bridge import UnitreeSdk2Bridge, ElasticBand
  File "/Users/guff/workspace/sandbox/G1-sandbox/unitree_mujoco/simulate_python/unitree_sdk2py_bridge.py", line 13, in <module>
    from unitree_sdk2py.utils.thread import RecurrentThread
  File "/Users/guff/workspace/sandbox/G1-sandbox/unitree_sdk2_python/unitree_sdk2py/utils/thread.py", line 9, in <module>
    from .timerfd import *
  File "/Users/guff/workspace/sandbox/G1-sandbox/unitree_sdk2_python/unitree_sdk2py/utils/timerfd.py", line 39, in <module>
    timerfd_create = CLIBLookup("timerfd_create", ctypes.c_int, (ctypes.c_long, ctypes.c_int))
  File "/Users/guff/workspace/sandbox/G1-sandbox/unitree_sdk2_python/unitree_sdk2py/utils/clib_lookup.py", line 13, in CLIBLookup
    func = clib[name]
  File "/Users/guff/.pyenv/versions/3.10.6/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, timerfd_create): symbol not found
@kencanak
Copy link
Author

some update, almost manage to get it run with dockers, only to find out it requires opengl 1.5

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