carla-simulator / ros-bridge

ROS bridge for CARLA Simulator
MIT License
510 stars 408 forks source link

undefined symbol: _Py_tracemalloc_config #667

Open hexrefugee opened 1 year ago

hexrefugee commented 1 year ago

Hi, os: Ubuntu 20.04 ros: Noetic carla version: 0.9.13

I fellow the doc, and in this step: https://carla.readthedocs.io/projects/ros-bridge/en/latest/ros_installation_ros1/ roslaunch carla_ros_bridge carla_ros_bridge.launch

I met error:

ImportError: /home/v2t-smi/.cache/Python-Eggs/carla-0.9.13-py3.8-linux-x86_64.egg-tmp/carla/libcarla.cpython-38-x86_64-linux-gnu.so: undefined symbol: _Py_tracemalloc_config
================================================================================REQUIRED process [carla_ros_bridge-2] has died!
process has died [pid 4966, exit code 1, cmd /home/v2t-smi/carla-ros-bridge/catkin_ws/src/ros-bridge/carla_ros_bridge/src/carla_ros_bridge/bridge.py __name:=carla_ros_bridge __log:=/home/v2t-smi/.ros/log/6e03b308-ac37-11ed-aee4-71e87aa24066/carla_ros_bridge-2.log].
log file: /home/v2t-smi/.ros/log/6e03b308-ac37-11ed-aee4-71e87aa24066/carla_ros_bridge-2*.log
Initiating shutdown!
================================================================================

And in this issue: https://github.com/carla-simulator/carla/issues/5460 said it was default python version's problem. So, I change my default python to 3.8

v2t-smi@v2tsmi-MS-7D89:~$ python -V
Python 3.8.10

but this error still exist.

Any Advice?

forlovedriveless commented 1 week ago

hello ,have you solved it?