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

Error in running the script #1

Open
lauweiquan opened this issue Aug 28, 2023 · 1 comment
Open

Error in running the script #1

lauweiquan opened this issue Aug 28, 2023 · 1 comment

Comments

@lauweiquan
Copy link

lauweiquan commented Aug 28, 2023

I have tried to run the scripts and i have ran into two errors. First, when I ran the data collection script, the keyboard inputs are not registered. Secondly, when trying to fix the keyboard input error, I ran into this error:

  File "robomimic/scripts/hitl/collect_hitl_demos.py", line 253, in collect_trajectory
    obs, _, _, _ = env.step(action, action_mode=action_mode)
TypeError: step() got an unexpected keyword argument 'action_mode'

I have set up the environment with the following packages:
mujoco-py 2.0.2.8
robosuite 1.2.0

Thank you for your help!

@BuiDacHien
Copy link

Hello, while running the code, do you get this error?

ERROR: Command errored out with exit status 1: /home/camvan/anaconda3/envs/sirius/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-u7f6jnxt/mmcv_44db9b5e04244bec8c7a299638753bb9/setup.py'"'"'; file='"'"'/tmp/pip-install-u7f6jnxt/mmcv_44db9b5e04244bec8c7a299638753bb9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-7q06ev00/install-record.txt --single-version-externally-managed --compile --install-headers /home/camvan/anaconda3/envs/sirius/include/python3.8/mmcv Check the logs for full command output.

failed

CondaEnvException: Pip failed

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