dora-rs / dora-drives

A step-by-step tutorial that allows beginners to write their own autonomous vehicle program from scratch using a simple starter kit. Dora-drives makes learning autonomous vehicle systems faster and easier.
https://www.dora-rs.ai/docs/guides/dora-drives/
Apache License 2.0
48 stars 11 forks source link

flake8 5.0.4 requires importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you have importlib-metadata 6.0.0 which is incompatible. #65

Closed caixxuan closed 10 months ago

caixxuan commented 10 months ago

Describe the bug something wrong when "pip install -r install_requirements.txt & pip install -r requirements.txt": A clear and concise description of what the bug is. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. opentelemetry-api 1.22.0 requires importlib-metadata<7.0,>=6.0, but you have importlib-metadata 4.2.0 which is incompatible. Successfully installed einops-0.3.2 importlib-metadata-4.2.0 (dora3.7) cai@cai:~/Downloads/dora-drives$ pip install importlib-metadata==6.0.0 Collecting importlib-metadata==6.0.0 Using cached importlib_metadata-6.0.0-py3-none-any.whl (21 kB) Requirement already satisfied: zipp>=0.5 in /home/cai/anaconda3/envs/dora3.7/lib/python3.7/site-packages (from importlib-metadata==6.0.0) (3.15.0) Requirement already satisfied: typing-extensions>=3.6.4 in /home/cai/anaconda3/envs/dora3.7/lib/python3.7/site-packages (from importlib-metadata==6.0.0) (4.3.0) Installing collected packages: importlib-metadata Attempting uninstall: importlib-metadata Found existing installation: importlib-metadata 4.2.0 Uninstalling importlib-metadata-4.2.0: Successfully uninstalled importlib-metadata-4.2.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. flake8 5.0.4 requires importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you have importlib-metadata 6.0.0 which is incompatible. Successfully installed importlib-metadata-6.0.0

To Reproduce Steps to reproduce the behavior:

  1. Dora start daemon: dora up
  2. Start a new dataflow: dora start dataflow.yaml
  3. Stop dataflow: dora stop
  4. Destroy dataflow: dora destroy

Expected behavior A clear and concise description of what you expected to happen.

Screenshots or Video If applicable, add screenshots to help explain your problem.

Environments (please complete the following information):

Additional context Add any other context about the problem here.

caixxuan commented 10 months ago

Screenshot from 2023-12-22 10-03-07 if i force to run, something wrong happen

caixxuan commented 10 months ago

Screenshot from 2023-12-22 10-32-26 moreover, the carla seems have something wrong when starting up

haixuanTao commented 10 months ago

For:

haixuanTao commented 10 months ago

Can you try this new branch without pip installing:

git checkout fix-opendrive

and see if you still have errors?

caixxuan commented 10 months ago

for the second error, how to solve this error, I have not changed anything but just follow the guide, this error is related to the first one or the third one?

haixuanTao commented 10 months ago

You should try:

git checkout fix-opendrive

and then run your dataflow.

It's related to the latest version of dora-rs

caixxuan commented 10 months ago

big thanks! It can work! great job to develop autonomous vehicle!

haixuanTao commented 10 months ago

Happy if it works for you! I think that if Carla run on your GPU, it’s going to be faster. You should check that Vulkan is well installed on your computer.