예제 #1
0
def import_process(queue):
    try:
        from mujoco_py import builder
        mjpro_path, key_path = builder.discover_mujoco()
        builder.load_cython_ext(mjpro_path)
    except Exception as e:
        queue.put(False)
    else:
        queue.put(True)
예제 #2
0
def import_process(queue):
    try:
        from mujoco_py import builder
        mjpro_path, key_path = builder.discover_mujoco()
        builder.load_cython_ext(mjpro_path)
    except Exception as e:
        queue.put(False)
    else:
        queue.put(True)