ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have similar problem on ROS Hydro (Ubuntu 12.04). When I run 'rqt_plot' i get the following error:

ImportError: numpy.core.multiarray failed to import
Traceback (most recent call last):
  File "/home/tysik/catkin_ws/devel/bin/rqt_plot", line 5, in <module>
    exec(fh.read())
  File "<string>", line 6, in <module>
  File "/home/tysik/catkin_ws/src/rqt_plot/rqt_plot/src/rqt_plot/plot.py", line 43, in <module>
    from .data_plot import DataPlot
  File "/home/tysik/catkin_ws/src/rqt_plot/rqt_plot/src/rqt_plot/data_plot/__init__.py", line 34, in <module>
    import numpy
  File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 137, in <module>
    import add_newdocs
  File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
  File "/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 11, in <module>
    import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'

ROS is configured properly. The solution given by JM didn't work for me. Removing and installing ROS again didn't help. Any ideas what might be possibly wrong?