traffic-generation-editor
traffic-generation-editor copied to clipboard
Module 'sys' has no attribute 'argv' in pygame
https://github.com/carla-simulator/traffic-generation-editor/blob/1f69dfe1a0f3c1e5157ed021e04027f005a6b38e/carla_scenario_editor.py#L35
when i run Connect to Carla, it ask me that No CARLA module available, I find here an error occurred.
from .carla_connect.addcam import CameraDockWidget
from .carla_connect.carla_connect_dockwidget import CarlaConnectDockWidget
When i remove try ,except, I find CameraDockWidget call the pygame. and give me a error:
Module 'sys' has no attribute 'argv' in pygame
so..why? pygame version is 2.0.1
Maybe check with pygame? Is there an update or issue known?
Add 'sys.argv=[‘’]' after 'import sys' in carla_connect/mapupdate.py works fine for me.