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

Issues and Clarifications on Installing the python files to test RL aspects of the Project #27

Open
HarshithaBR opened this issue Jan 26, 2024 · 2 comments

Comments

@HarshithaBR
Copy link

We are trying to set up the RCareWorld project in our Ubuntu 22.04.3 LTS machine

  • Upon starting the minimum install for the project, we noticed that the folder <pyrfuniverse_rcare> was missing in the git repository, and hence the project structure is different. Minimum Install

    Also, we wanted to test the Full installation, and have submitted a request for the Unity files via the Google form. Can we have access to the test_install.sh file mentioned in the installation steps, as it seems to be missing in the repository? Full Install

  • We wanted to run the demo trajectories using : python run.py <Env_Name> -u True Run Demo Environments
    Can we get any links to documentations, and resources regarding how the environment is to be set up?

    Also, what is the expectation from the "demo_interactive" function to be implemented in the environment?

  • If we run python run.py, we are getting the following error:

`Traceback (most recent call last):
  File "run.py", line 2, in <module>
    from pyrcareworld.envs import *
  File "/home/harshitha07/Documents/RCareWorldFullInstallation/rcareworld_workspace/rcare_py/pyrcareworld/pyrcareworld/envs/__init__.py", line 1, in <module>
    from .base_env import RCareWorld, RCareWorldGymWrapper
  File "/home/harshitha07/Documents/RCareWorldFullInstallation/rcareworld_workspace/rcare_py/pyrcareworld/pyrcareworld/envs/base_env.py", line 1, in <module>
    from gym.utils import seeding
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/site-packages/gym/__init__.py", line 13, in <module>
    from gym.envs import make, spec, register
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/site-packages/gym/envs/__init__.py", line 10, in <module>
    _load_env_plugins()
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/site-packages/gym/envs/registration.py", line 276, in load_env_plugins
    fn = plugin.load()
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/site-packages/gym_minigrid/__init__.py", line 5, in <module>
    from gym_minigrid import minigrid, roomgrid, wrappers
  File "/home/harshitha07/anaconda3/envs/rcarefull/lib/python3.8/site-packages/gym_minigrid/minigrid.py", line 86, in <module>
    class MissionSpace(spaces.Space[str]):
TypeError: 'type' object is not subscriptable`

Can you please suggest how we can resolve these issues and proceed?

Thanks and Regards

@kavikode
Copy link

kavikode commented Feb 1, 2024

installing all the packages in a virtual environment seems important.

@DanielTakeshi
Copy link

DanielTakeshi commented Feb 8, 2024

@YoruCathy just wondering if this issue is under active exploration / resolution? Thank you very much!

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

3 participants