Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AttributeError: 'module' object has no attribute 'RosPack'

please help me i don't know what i'm missing , when i run the tuto of client server i get this issue please help !!!!!

Traceback (most recent call last): File "/home/bxxmed/tuto_ws/src/rospkg_dem/scripts/add_two_ints_servertuto.py", line 4, in <module> import rospy File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module> from .client import spin, myargv, init_node, \ File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/client.py", line 52, in <module> import roslib File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/__init__.py", line 50, in <module> from roslib.launcher import load_manifest File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 48, in <module> _rospack = rospkg.RosPack() AttributeError: 'module' object has no attribute 'RosPack'

AttributeError: 'module' object has no attribute 'RosPack'

please help me i don't know what i'm missing , when i run the tuto of client server i get this issue please help !!!!!

Traceback (most recent call last):
  File "/home/bxxmed/tuto_ws/src/rospkg_dem/scripts/add_two_ints_servertuto.py", line 4, in <module>
    import rospy
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/client.py", line 52, in <module>
    import roslib
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/__init__.py", line 50, in <module>
    from roslib.launcher import load_manifest
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 48, in <module>
    _rospack = rospkg.RosPack()
AttributeError: 'module' object has no attribute 'RosPack'

'RosPack'