Open gabrik opened 1 year ago
i am also facing same error plz help anyone in windows environment
Solution is here https://github.com/carla-simulator/carla/blob/master/PythonAPI/examples/generate_traffic.py
import carla
SpawnActor = carla.command.SpawnActor
Solution is here https://github.com/carla-simulator/carla/blob/master/PythonAPI/examples/generate_traffic.py
import carla SpawnActor = carla.command.SpawnActor
That does not work if CARLA python API (0.9.14) is installed from pip.
i am also facing same error plz help anyone in windows environment
have you found the solution? i encountered the same problem in windows.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've now proposed a working fix for this see: https://github.com/carla-simulator/carla/pull/8161
Hi,
While writing our own setup script to spawn cars and pedestrians in the simulator, we encountered this issue when trying to import the
SpawnActor
, or any module undercarla.command
Our setup script is based on the
/carla/PythonAPI/examples/generate_traffic.py
one.Any suggestion?
CARLA version: 0.9.14 Platform/OS: Ubuntu 20.04 Problem you have experienced: ModuleNotFoundError: No module named 'carla.libcarla.command' What you expected to happen: to import the module Steps to reproduce:
Install carla python from pypi: and try to import a command