Closed SungYinYang closed 3 years ago
Dear Yang,
I just tried the PythonAPI/quickstart/ from https://github.com/lgsvl/PythonAPI/blob/master/quickstart/05-ego-drive-in-circle.py
$ python 05-ego-drive-in-circle.py
It successfully shows that he ego vehicle is driving in the circle today.
Suggestions: reinstall the PythonAPI source code and follow the README document
@XuehuanYang I am trying on the branch preview.
Previously, my master branch works fine. However, after I switch to the preview branch and then both master branch and preview branch does not work.
Dear Yang,
Current environment python version is Python 3.6.9 (default, Jul 17 2020) [GCC 8.4.0] on linux
Hi,
My computer is Ubuntu 16.04. GPU is RTX2080S. I encounter the Type error problem when I tried to run the example in branch prefix.
File "./quickstart/05-ego-drive-in-circle.py", line 8, in <module> from environs import Env File "/home/stevenubuntu/.local/lib/python3.5/site-packages/environs/__init__.py", line 32, in <module> Subcast = typing.Union[typing.Type, typing.Callable[..., _T]] File "/usr/lib/python3.5/typing.py", line 552, in __getitem__ dict(self.__dict__), parameters, _root=True) File "/usr/lib/python3.5/typing.py", line 512, in __new__ for t2 in all_params - {t1} if not isinstance(t2, TypeVar)): File "/usr/lib/python3.5/typing.py", line 512, in <genexpr> for t2 in all_params - {t1} if not isinstance(t2, TypeVar)): File "/usr/lib/python3.5/typing.py", line 1077, in __subclasscheck__ if super().__subclasscheck__(cls): File "/usr/lib/python3.5/abc.py", line 225, in __subclasscheck__ for scls in cls.__subclasses__(): TypeError: descriptor '__subclasses__' of 'type' object needs an argument
Any help or recommendation is appreciated!
My master branch is also not working at the same time. I am able to execute the code, but the LGSVL simulator would show nothing.