BerkeleyAutomation / gqcnn

Python module for GQ-CNN training and deployment with ROS integration.

Home Page:https://berkeleyautomation.github.io/gqcnn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: No module named srv

jiuweifox opened this issue · comments

I recently installed GQCNN(python-only) and tested it with policy.py which works perfectly .Now I installed it as ROS package for real robot. but it fails to start service and following is the log on my command line.
from gqcnn.srv import GQCNNGraspPlanner
ImportError: No module named srv
I checked /path/to/catkin_ws/devel/lib/python2.7/dist-packages/gqcnn/srv/init.py exists
And I checked Python sys.path have /path/to/catkin_ws/devel/lib/python2.7/dist-packages.
But Before this path there has '/usr/local/lib/python2.7/dist-packages/gqcnn-0.1.0-py2.7.egg'.
Should I uninstall the gqcnn(python-only) first?
Thanks very much.

I fixed it. It is right to uninstall gqcnn. The service start normally.