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

running error in windows #32

Open
Wjzsearcher opened this issue Dec 14, 2021 · 0 comments
Open

running error in windows #32

Wjzsearcher opened this issue Dec 14, 2021 · 0 comments

Comments

@Wjzsearcher
Copy link

Hi, I met an error when I ran the demo walk, the rex-gym has successfully installed on my windows.
Could you please tell me how to solve this problem?
Thank you!

PS F:\program_study\quadruped_robot\rex-gym> rex-gym policy --env walk
pybullet build time: Oct 24 2021 14:53:06
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
  File "E:\program\Anaconda3\envs\pytorch\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "E:\program\Anaconda3\envs\pytorch\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "E:\program\Anaconda3\envs\pytorch\Scripts\rex-gym.exe\__main__.py", line 7, in <module>
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\click\core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\click\core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\click\core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\click\core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\rex_gym\cli\entry_point.py", line 31, in policy
    PolicyPlayer(env, args, signal_type).play()
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\rex_gym\playground\policy_player.py", line 29, in play
    config = utility.load_config(policy_dir)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\rex_gym\agents\scripts\utility.py", line 197, in load_config
    config = yaml.load(file_)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\main.py", line 951, in load
    return loader._constructor.get_single_data()
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 113, in get_single_data
    return self.construct_document(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 118, in construct_document
    data = self.construct_object(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 146, in construct_object
    data = self.construct_non_recursive_object(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_obje
ct
    data = constructor(self, tag_suffix, node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 1013, in construct_python_object_new

    return self.construct_python_object_apply(suffix, node, newobj=True)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 995, in construct_python_object_appl
y
    value = self.construct_mapping(node, deep=True)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 440, in construct_mapping
    return BaseConstructor.construct_mapping(self, node, deep=deep)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 255, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 146, in construct_object
    data = self.construct_non_recursive_object(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 188, in construct_non_recursive_obje
ct
    for _dummy in generator:
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 723, in construct_yaml_map
    value = self.construct_mapping(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 440, in construct_mapping
    return BaseConstructor.construct_mapping(self, node, deep=deep)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 255, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 146, in construct_object
    data = self.construct_non_recursive_object(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_obje
ct
    data = constructor(self, tag_suffix, node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 995, in construct_python_object_appl
y
    value = self.construct_mapping(node, deep=True)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 440, in construct_mapping
    return BaseConstructor.construct_mapping(self, node, deep=deep)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 255, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 146, in construct_object
    data = self.construct_non_recursive_object(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 188, in construct_non_recursive_obje
ct
    for _dummy in generator:
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 717, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 211, in construct_sequence
    return [self.construct_object(child, deep=deep) for child in node.value]
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 211, in <listcomp>
    return [self.construct_object(child, deep=deep) for child in node.value]
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 146, in construct_object
    data = self.construct_non_recursive_object(node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_obje
ct
    data = constructor(self, tag_suffix, node)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 913, in construct_python_name
    return self.find_python_name(suffix, node.start_mark)
  File "E:\program\Anaconda3\envs\pytorch\lib\site-packages\ruamel\yaml\constructor.py", line 898, in find_python_name
    mark,
ruamel.yaml.constructor.ConstructorError: while constructing a Python object
cannot find 'walk_env.RexWalkEnv' in the module 'rex_gym.envs.gym'
  in "E:\program\Anaconda3\envs\pytorch\lib\site-packages\rex_gym/policies/walk/ik\config.yaml", line 7, column 7
``
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