carla
carla copied to clipboard
Cannot use the Carla API normally in the pycharm IDE
My computer informatiom: <CARLA version: 0.9.12> <Platform/OS: Ubuntu 20.04.04 focal>
My Problem: After configuring the running environment of Carla in the IDE of pycharm, I found that I can not use the API well. For example, when I use <world = client get_ world()>, although there is no error, the world object has no syntax prompt. See the following figure:

First, I checked the versions of Carla server and Carla client. They are consistent. See the following figure:

Second, I did the same operation on the command line interface, but the API can be used normally only on the command line. See the following figure:

Does anyone know how to use Python API normally in IDEs such as pycharm? Thank you.