problem creating a new package with catkin_create_pkg
I'm trying to create a new package in my workspace with catkin_create_pkg
and I get this error:
afgonzalez@afgonzalez-desktop:~/ros_workspace/src$ catkin_create_pkg
Traceback (most recent call last):
File "/usr/local/bin/catkin_create_pkg", line 10, in <module>
from catkin_pkg.package_templates import create_package_files, PackageTemplate
ImportError: No module named catkin_pkg.package_templates</div>
I have reinstalled ros-groovy-catkin
and python-catkin-pkg
package but the error still there.
Please post the version number of your catkin_pkg package: python -c "import catkin_pkg; print(catkin_pkg.__version__)"
The version of the catkin_pkg is 0.1.20
Please get the folder where catkin_pkg is in your installation ( python -c "import catkin_pkg; print(catkin_pkg.__file__)" ) and post the directory content.
The directory content is: /usr/lib/pymodules/python2.7/catkin_pkg/__init__.pyc
That is pretty incomplete. Please remove remove the file and reinstall the Debian package python-catkin-pkg again.
I have deleted __init__.pyc file and reinstalled the python-catkin-pkg and the templates aren't found yet. The content directory is still the same: /usr/lib/pymodules/python2.7/catkin_pkg/__init__.pyc