Brett, <div>I believe that the error message you are getting is because the message generators in roslib have not been run.  They are usually run during the build step.  For getting things to work on your phone, you will probably need to run a stripped down version of the build.  </div>

<div><br></div><div>Tully<br><br><div class="gmail_quote">On Sat, May 15, 2010 at 10:05 AM, Brett Graham <span dir="ltr"><<a href="mailto:graham@rowland.harvard.edu">graham@rowland.harvard.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to load rospy on a computer that does not have ros installed on it.<br>
<br>
When I try:<br>
import rospy<br>
<br>
I get the following error:<br>
<br>
---------------------------------------------------------------------------<br>
ImportError                               Traceback (most recent call last)<br>
<br>
pysrc/<ipython console> in <module>()<br>
<br>
pysrc/rospy/__init__.py in <module>()<br>
     42 from roslib.rosenv import ROS_ROOT, ROS_MASTER_URI,<br>
ROS_HOSTNAME, ROS_NAMESPACE, ROS_PACKAGE_PATH, ROS_LOG_DIR<br>
     43<br>
---> 44 import rospy.core<br>
     45 import rospy.init<br>
     46<br>
<br>
pysrc/rospy/core.py in <module>()<br>
     47 import xmlrpclib<br>
     48<br>
---> 49 import roslib.msg<br>
     50 import roslib.rosenv<br>
     51 import roslib.roslogging<br>
<br>
ImportError: No module named msg<br>
---------------------------------------------------------------------------<br>
<br>
I don't have the option to install ros on the computer (it's my phone<br>
:) ). Is there a way to get around this, or am I misunderstanding how<br>
to load rospy?<br>
<br>
Thanks in advance for your help.<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>
</div>