atenpas / gpd

Detect 6-DOF grasp poses in point clouds
BSD 2-Clause "Simplified" License
606 stars 233 forks source link

ImportError: No module named gpd.msg #74

Closed cyu-craftnetics closed 5 years ago

cyu-craftnetics commented 5 years ago

Traceback (most recent call last): File "select_grasp.py", line 40, in from gpd.msg import CloudIndexed ImportError: No module named gpd.msg

I received the import error above. How do I install the package for python to recognize? I apologize, I'm still very new to ROS packages and how they work.

Thanks for the help!

TheJasal commented 5 years ago

Hi, @cyu-craftnetics I had build the gpd package just now, and I had meet the same problem what you said. And the way I install the package is :

mkdir build && cd build && cmake .. make -j8 sudo make install

Beforehand, you should check you ROS PYTHONPATH is correct.

Hope that helps!

cyu-craftnetics commented 5 years ago

It did! thanks!

atenpas commented 5 years ago

I'm glad this is solved. Thanks for suggesting a solution @TheJasal.