undefined symbol: PyUnicode_AsUTF8String
See original GitHub issueHi Guys,
I am facing the below issue while running roslaunch carla_ros_bridge client.launch
.
I have updated the PYTHONPATH
as mentioned in the RlEADME
and also I am getting success if I run python -c 'import carla;print("Success")'
.
Traceback (most recent call last):
File "/home/user/ros/catkin_ws_for_carla/src/src/carla_ros_bridge/client.py", line 14, in <module>
import carla
File "/home/kishor/Carla_Sim/PythonAPI/carla-0.9.2-py3.5-linux-x86_64.egg/carla/__init__.py", line 7, in <module>
File "/home/kishor/Carla_Sim/PythonAPI/carla-0.9.2-py3.5-linux-x86_64.egg/carla/libcarla.py", line 7, in <module>
File "/home/kishor/Carla_Sim/PythonAPI/carla-0.9.2-py3.5-linux-x86_64.egg/carla/libcarla.py", line 6, in __bootstrap__
ImportError: /home/kishor/.cache/Python-Eggs/carla-0.9.2-py3.5-linux-x86_64.egg-tmp/carla/libcarla.cpython-35m-x86_64-linux-gnu.so: undefined symbol: PyUnicode_AsUTF8String
[carla_ros_bridge-2] process has died [pid 23024, exit code 1, cmd /home/kishor/ros/catkin_ws_for_carla/src/src/carla_ros_bridge/client.py __name:=carla_ros_bridge __log:=/home/kishor/.ros/log/bf8f277e-1f0b-11e9-8882-e4b97a000225/carla_ros_bridge-2.log].
log file: /home/kishor/.ros/log/bf8f277e-1f0b-11e9-8882-e4b97a000225/carla_ros_bridge-2*.log
Previously I had faced the similar issue, I was able to fix and posted the fix here. But now I am not able to see the post.
Could you please help me to fix the issue.
Thank you, KK
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
undefined symbol: PyUnicode_AsUTF8String #479 - GitHub
Hi, when I try to do import tensorflow I receive the following error: Traceback (most recent call last): File " ", line 1, ......
Read more >Undefined symbol in libboost - c++ - Stack Overflow
In .so file I see the following symbol undefined @Ubuntu-1204-precise-64-minimal:/usr/local/lib$ nm libboost_python.so.1.57.0 | grep ...
Read more >Bug #1531166 “undefined symbol: PyUnicode_AsUTF8String”
rapid-photo-downloader aborts start on openSuSE Tumbleweed with this message on the commandline: ImportError: /usr/lib64/libboost_python.so.1.59.0: ...
Read more >682575 – yum update produces undefined symbol ...
Description of problem: yum update produces undefined symbol PyUnicodeUCS4_AsUTF8String Version-Release number of selected component (if ...
Read more >FS#49715 : undefined symbol: PyUnicode_AsUTF8String
Description: When I am building network-manager-applet, it failed: CC libnm_gtk_la-nm-wifi-dialog.lo. CC libnm_gtk_la-nm-wireless-dialog.lo
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am not sure, but isn’t ROS using Python2 by default? Try setting the PYTHONPATH to point to the egg file for Python 2.7. Does it help?
@fpasch Sorry. I did not realize I was posting in carla-ros-bridge support. Thank you for your patience.