traffic-generation-editor icon indicating copy to clipboard operation
traffic-generation-editor copied to clipboard

Module 'sys' has no attribute 'argv' in pygame

Open FENGShuanglang opened this issue 4 years ago • 2 comments

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

FENGShuanglang avatar Oct 14 '21 09:10 FENGShuanglang

Maybe check with pygame? Is there an update or issue known?

fabianoboril avatar Oct 18 '21 05:10 fabianoboril

Add 'sys.argv=[‘’]' after 'import sys' in carla_connect/mapupdate.py works fine for me.

ccysway avatar Apr 13 '23 08:04 ccysway