ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think that you installed the wrong python .egg file...

There are 2 ways:

  1. Expand your .bashrc with the Pythonpath:

    export CARLA_ROOT=~/CARLA_0.9.8 export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.8-py2.7-linux-x86_64.egg:${CARLA_ROOT}/PythonAPI/carla/agents:${CARLA_ROOT}/PythonAPI/carla

  2. 2.

I think that you installed the wrong python .egg file...

There are 2 ways:

  1. Expand your .bashrc with the Pythonpath:

    export CARLA_ROOT=~/CARLA_0.9.8
    export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.8-py2.7-linux-x86_64.egg:${CARLA_ROOT}/PythonAPI/carla/agents:${CARLA_ROOT}/PythonAPI/carla

    PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.8-py2.7-linux-x86_64.egg:${CARLA_ROOT}/PythonAPI/carla/agents:${CARLA_ROOT}/PythonAPI/carla
  2. 2.
  3. Install the right .egg file

    pip uninstall carla or pip3 uninstall carla

    python easy_install -m carla-0.9.8-py2.7-linux-x86_64.egg
    

    or

    python easy_install -m carla-0.9.8-py3.6-linux-x86_64.egg