Improbable-AI / walk-these-ways

Sim-to-real RL training and deployment tools for the Unitree Go1 robot.
https://gmargo11.github.io/walk-these-ways/
Other
488 stars 129 forks source link

something wrong when "sudo make autostart" #79

Open PoirotJin opened 1 month ago

PoirotJin commented 1 month ago

Because of some reasons, I have to use python3.8. When I run the command "sudo make autostart", I get the fault:

Traceback (most recent call last):
  File "deploy_policy.py", line 6, in <module>
    from go1_gym_deploy.utils.deployment_runner import DeploymentRunner
  File "/usr/local/lib/python3.6/dist-packages/go1_gym-1.0.0-py3.6.egg/go1_gym_deploy/utils/deployment_runner.py", line 6, in <module>
    import torch
  File "/usr/local/lib/python3.6/dist-packages/torch/__init__.py", line 196, in <module>
    _load_global_deps()
  File "/usr/local/lib/python3.6/dist-packages/torch/__init__.py", line 149, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [libcurand.so](http://libcurand.so/).10: cannot open shared object file: No such file or directory
make: *** [Makefile:27: autostart] Error 1
unitree@ubuntu:~/go1_gym/go1_gym_deploy/docker$ ls /usr/local/lib/python3.6/dist-packages/
ls: cannot access '/usr/local/lib/python3.6/dist-packages/': No such file or directory

So how can I run it on python3.8?