VScode is highlighting many errors in carla.py in every carla. line and I think it's because of this line:
self.client = carla.Client(*settings.CARLA_HOSTS[carla_instance][:2])
In all the other files Carla API is working well, also "CARLA_HOSTS" is set right in settings.py so that doesn't seem to be the problem.
The script runs and the simulator opens but it keeps printing "ERROR" on "Carla1" and in "Agent1" and nothing happens, nor npc's spawn, neither agent. @daniel-kukiela @Sentdex
VScode is highlighting many errors in carla.py in every
carla.
line and I think it's because of this line:self.client = carla.Client(*settings.CARLA_HOSTS[carla_instance][:2])
In all the other files Carla API is working well, also "CARLA_HOSTS" is set right in settings.py so that doesn't seem to be the problem. The script runs and the simulator opens but it keeps printing "ERROR" on "Carla1" and in "Agent1" and nothing happens, nor npc's spawn, neither agent. @daniel-kukiela @Sentdex