This topic contains 2 replies, has 2 voices, and was last updated by  [email protected] 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28815

    lavoiems
    Participant

    I have the following stacktrace

    [email protected]:~/Project/duckietown/gym-duckietown-agent$ python3 agent.py
    Traceback (most recent call last):
    File “agent.py”, line 37, in <module>
    env = gym.make(“Duckietown-Lf-Lfv-Navv-Silent-v0”)
    File “/home/sam/.local/lib/python3.5/site-packages/gym/envs/registration.py”, line 167, in make
    return registry.make(id)
    File “/home/sam/.local/lib/python3.5/site-packages/gym/envs/registration.py”, line 119, in make
    env = spec.make()
    File “/home/sam/.local/lib/python3.5/site-packages/gym/envs/registration.py”, line 85, in make
    cls = load(self._entry_point)
    File “/home/sam/.local/lib/python3.5/site-packages/gym/envs/registration.py”, line 14, in load
    result = entry_point.load(False)
    File “/usr/lib/python3/dist-packages/pkg_resources/__init__.py”, line 2229, in load
    return self.resolve()
    File “/usr/lib/python3/dist-packages/pkg_resources/__init__.py”, line 2235, in resolve
    module = __import__(self.module_name, fromlist=[‘__name__’], level=0)
    File “/home/sam/Project/duckietown/gym-duckietown-agent/gym_duckietown_agent/envs/__init__.py”, line 1, in <module>
    from gym_duckietown_agent.envs.simplesimagent_env import SimpleSimAgentEnv
    File “/home/sam/Project/duckietown/gym-duckietown-agent/gym_duckietown_agent/envs/simplesimagent_env.py”, line 5, in <module>
    from duckietown_slimremote.pc.robot import RemoteRobot
    ImportError: No module named ‘duckietown_slimremote’

    Given that I tried pip3 install duckietown_slimremote and it did not work, anyone know what is the name of the package I should install?
    Btw, it works when I run it inside the docker container.

    #28864

    lavoiems
    Participant

    For clarification, I am trying to do step 4 in http://docs.duckietown.org/DT18/AIDO/out/embodied_rl.html. I am running Ubuntu 16.

    #28979

    [email protected]
    Participant

    In case you haven’t found it yet, you can build it from https://github.com/duckietown/duckietown-slimremote

    Then you can play with your PYTHONPATH or simply copy the folder duckietown_slimremote into the gym-duckietown-agent folder (not very clean but works)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Close Menu