Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 49

import select ImportError: No module named select

$
0
0
Since yesterday I've been having a problem to use the next command:> $ rospack depends1 rospy And any other command like this. I receive the next output: > $ rospack depends1 rospy>> failed to load symbols, rosdep will> not function properly Cannot import> rospkg, rosdep will not function> properly Traceback (most recent call> last): File> "/usr/lib/pymodules/python2.7/rosdep2/rospack.py",> line 37, in > import subprocess File "/usr/lib/python2.7/subprocess.py",> line 429, in > import select ImportError: No module named select Error in> sys.excepthook: Traceback (most recent> call last): File> "/usr/lib/python2.7/dist-packages/apport_python_hook.py",> line 61, in apport_excepthook> from io import StringIO File "/usr/lib/python2.7/io.py", line 51,> in > import _io ImportError: /usr/lib/python2.7/lib-dynload/_io.so:> undefined symbol:> PyUnicodeUCS4_EncodeUTF32>> Original exception was: Traceback> (most recent call last): File> "/usr/lib/pymodules/python2.7/rosdep2/rospack.py",> line 37, in > import subprocess File "/usr/lib/python2.7/subprocess.py",> line 429, in > import select ImportError: No module named select Traceback (most> recent call last): File> "/usr/lib/pymodules/python2.7/rosdep2/rospack.py",> line 37, in > import subprocess File "/usr/lib/python2.7/subprocess.py",> line 429, in > import select ImportError: No module named select Error in> sys.excepthook: Traceback (most recent> call last): File> "/usr/lib/python2.7/dist-packages/apport_python_hook.py",> line 61, in apport_excepthook> from io import StringIO File "/usr/lib/python2.7/io.py", line 51,> in > import _io ImportError: /usr/lib/python2.7/lib-dynload/_io.so:> undefined symbol:> PyUnicodeUCS4_EncodeUTF32>> Original exception was: Traceback> (most recent call last): File> "/usr/lib/pymodules/python2.7/rosdep2/rospack.py",> line 37, in > import subprocess File "/usr/lib/python2.7/subprocess.py",> line 429, in > import select ImportError: No module named select [rospack] Error:> could not find python module> 'rosdep2.rospack'. is rosdep> up-to-date (at least 0.10.4)? I'm using Ubuntu 12.10 (Quantal), with ROS-HYDRO. My rosdep version is: > $ rosdep --version> 0.10.25 I've already tried to find some solution, but I couldn't. I've tried to 'autoremove' ros and clean install again, but nothing changed. When I try to 'import select' using the python environment in terminal, everything is OK. My PYTHONPATH is OK, as follows: > $ echo $PYTHONPATH > /home/usr/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/hydro/lib/python2.7/dist-packages Can anybody help me please?

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>