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

TypedDict from typing library #240

Open
nerkn opened this issue Dec 6, 2020 · 3 comments
Open

TypedDict from typing library #240

nerkn opened this issue Dec 6, 2020 · 3 comments

Comments

@nerkn
Copy link

nerkn commented Dec 6, 2020

Recently my sim failed to work in google colab. Error is this, any suggestions?

/usr/local/lib/python3.6/dist-packages/duckietown_world/world_duckietown/map_loading.py in ()
14 from .duckiebot import DB18
15 from .duckietown_map import DuckietownMap
---> 16 from .old_map_format import MapFormat1Object
17 from .other_objects import (
18 Barrier,

/usr/local/lib/python3.6/dist-packages/duckietown_world/world_duckietown/old_map_format.py in ()
----> 1 from typing import Dict, List, NewType, TypedDict, Union
2
3 all = ["MapFormat1", "MapFormat1Object", "MapFormat1Constants"]
4
5

ImportError: cannot import name 'TypedDict'

@mostafaelaraby
Copy link
Contributor

@nerkn I recommend you to check this Colab notebook that used the gym-duckietown to train an imitation learning baseline,
check the dependencies installations and the virtual display setup

@nerkn
Copy link
Author

nerkn commented Dec 6, 2020

Same error, It doesnt work either

File "/usr/local/lib/python3.6/dist-packages/duckietown_world/world_duckietown/old_map_format.py", line 1, in
from typing import Dict, List, NewType, TypedDict, Union
ImportError: cannot import name 'TypedDict'

https://colab.research.google.com/github/duckietown/challenge-aido_LF-baseline-dagger-pytorch/blob/main/notebook.ipynb

@greta-p
Copy link

greta-p commented Dec 6, 2020 via email

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