Robotics StackExchange | Archived questions

Nao installation - problem with python [ArchLinux]

I'm following the official guide http://wiki.ros.org/nao/Tutorials/Getting-Started to install Nao. The problem that I'm running into is when I tried to start the ros_driver package by executing :

$ LDLIBRARYPATH=~/naoqi/naoqi-sdk-1.12.3-linux32/lib:$LDLIBRARYPATH NAOIP=127.0.0.1 roslaunch naodriver naodriversim.launch

I'd get the following output: Traceback (most recent call last): File "/opt/ros/indigo/bin/roslaunch", line 34, in import roslaunch File "/opt/ros/indigo/lib/python2.7/site-packages/roslaunch/init.py", line 38, in import logging File "/usr/lib/python2.7/logging/init.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/usr/lib/python2.7/collections.py", line 9, in from operator import itemgetter as itemgetter, eq as _eq ImportError: /usr/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS4AsDefaultEncodedString

From my understanding, the PyUnicodeUCS4AsDefaultEncodedString is related to my built python USC version. Because it says UCS4, my Python indicates to be built in another version, hence USC2.

But when I tried to verify my python USC with: sys.maxunicode

I'd get the return value of 1114111 which is the value of USC4.

I'm lost right now and don't know where to go from here. Any help would be appreciated!

Asked by willtd on 2015-01-11 12:44:44 UTC

Comments

Answers