1
我在做使用ros的人臉檢測機器人。我在跑的人臉檢測節點故障和我得到以下錯誤:如何修復ros-indigo-ubuntu(14.04)中的編碼錯誤?
[email protected]:~$ source /usr/share/setup.launch
[email protected]:~$ source ./ws1/devel/setup.bash
[email protected]:~$ rosrun exp2 face.py
Traceback (most recent call last):
File "/home/arun/ws1/src/exp2/scripts/face.py", line 4, in <module>
roslib.load_manifest('rosopencv')
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 164, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 208, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: rosopencv
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/arun/ws1/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
'rospkg.common.ResourceNotFound:rosopencv'相當不言自明 – Juggernaut