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

Can't create a package

asked 2013-07-22 04:57:30 -0500

y0yster gravatar image

updated 2014-01-28 17:17:22 -0500

ngrennan gravatar image

I have a problem with creating a package with roscreate-pkg. At the beginning I was create a package without any error messages. Now I get something like this while attempting to create a package:

Traceback (most recent call last): File "/opt/ros/fuerte/bin/roscreate-pkg", line 34, in <module> import roscreate File "/opt/ros/fuerte/lib/python2.7/dist-packages/roscreate/", line 36, in <module> import roscreate.core File "/opt/ros/fuerte/lib/python2.7/dist-packages/roscreate/", line 40, in <module> import pkg_resources ImportError: No module named pkg_resources

I have python-setuptools which should have the pkg_resources but somehow it is unable to find it.

I'm using ros-fuerte installed from package.

edit retag flag offensive close merge delete


I also have this problem now. Don't know why. I first could create packages but now I can't anymore.

WG- gravatar image WG-  ( 2013-09-19 06:46:06 -0500 )edit

I was able to solve the problem and I've forgotten to put the solution here. Now I'm doing this. For me procedure below helped:

y0yster gravatar image y0yster  ( 2013-09-19 07:00:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-19 07:00:46 -0500

y0yster gravatar image

updated 2013-09-19 07:05:03 -0500

Because of comment formatting, the commands are here:

sudo apt-get install curl

curl -O

sudo python

sudo easy_install pip

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-07-22 04:57:30 -0500

Seen: 534 times

Last updated: Sep 19 '13