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

ImportError: cannot import name 'AbsFilePath' from 'zuper_commons.fs' #245

Open
britig opened this issue Apr 14, 2021 · 1 comment
Open

Comments

@britig
Copy link

britig commented Apr 14, 2021

I am trying to run manual_control.py after installing duckie town and its dependencies. However, I am receiving the following error,

python manual_control.py
Traceback (most recent call last):
File "manual_control.py", line 17, in
from gym_duckietown.envs import DuckietownEnv
File "/home/briti/gym-duckietown/src/gym_duckietown/init.py", line 4, in
from zuper_commons.fs import AbsFilePath
ImportError: cannot import name 'AbsFilePath' from 'zuper_commons.fs' (/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/zuper_commons/fs/init.py)

@britig
Copy link
Author

britig commented Apr 16, 2021

I was able to solve this error by installing zuper-commons-z6 6.1.7 however I am still facing the following error:

DEBUG:commons:version: 6.1.7 *
INFO:dt-world:duckietown-world 1.0.30
INFO:zj:zj 3.0.3
INFO:dt-world:contracts 1.8.12
Traceback (most recent call last):
File "./manual_control.py", line 17, in
from gym_duckietown.envs import DuckietownEnv
File "/home/briti/gym-duckietown/src/gym_duckietown/init.py", line 7, in
from duckietown_world.resources import list_maps2
File "/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/duckietown_world/init.py", line 26, in
from .geo import *
File "/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/duckietown_world/geo/init.py", line 2, in
from .measurements_utils import *
File "/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/duckietown_world/geo/measurements_utils.py", line 9, in
from duckietown_world.seqs import Sequence
File "/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/duckietown_world/seqs/init.py", line 2, in
from .constant import *
File "/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/duckietown_world/seqs/constant.py", line 7, in
from .tsequence import GenericSequence, X, Timestamp
File "/home/briti/anaconda3/envs/duckietown/lib/python3.8/site-packages/duckietown_world/seqs/tsequence.py", line 63, in
assert False, sys.version_info
AssertionError: sys.version_info(major=3, minor=8, micro=8, releaselevel='final', serial=0)

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

1 participant