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

Error when running the leaderboard evaluator after building Dockerfile.master to use it with Python 2.7 egg #84

Closed
hatem-darweesh opened this issue Apr 6, 2021 · 2 comments

Comments

@hatem-darweesh
Copy link

Dear CARLA team,

Here is my issue:
I want to use CARLA Python APIs 2.7 .egg
On my local machine, it works fine by doing these steps:
1- export PYTHONPATH=$PYTHONPATH:CARLA_0.9.10.1/PythonAPI/carla/dist/carla-0.9.10-py2.7-linux-x86_64.egg
2- agent: ros_agent.py
3- Evaluator: I run command: pythong leaderboard_evaluator.py

But when I try to build the Dockerfile.master here comes the problems.
1- I don't use ros_agent, I use npc_agent for testing
2- successfully build it, and was able to run the agent inside docker with python3

Then I modified Docker as the follows:

  • replace ubuntu 16 with -> FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04
  • add required additional libraries

After successful docker build, and fix a lot of issues , finally I stuck with this error:

Traceback (most recent call last): File "/workspace/leaderboard/leaderboard/leaderboard_evaluator.py", line 31, in <module> from leaderboard.scenarios.scenario_manager import ScenarioManager File "/workspace/leaderboard/leaderboard/scenarios/scenario_manager.py", line 25, in <module> from leaderboard.autoagents.agent_wrapper import AgentWrapper, AgentError File "/workspace/leaderboard/leaderboard/autoagents/agent_wrapper.py", line 20, in <module> from leaderboard.envs.sensor_interface import CallBack, OpenDriveMapReader, SpeedometerReader, SensorConfigurationInvalid File "/workspace/leaderboard/leaderboard/envs/sensor_interface.py", line 8, in <module> import queue ImportError: No module named queue

Can anyone help !
Thanks

@hatem-darweesh
Copy link
Author

This was solved by suggestion from luis
https://discord.com/channels/444206285647380482/551506571608326156/829086742337421382

@marcusvinicius178
Copy link

Hi @luis2r @hatem-darweesh I am facing the same issue. However the link of discord is unavailable. Could you please tell me how did you solve?

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

2 participants