Pyinstaller and Rospy

asked 2018-12-22 12:46:17 -0500

RamonGonzalez gravatar image

updated 2018-12-22 21:06:02 -0500

jayess gravatar image

I have been trying to create an executable of the following Python code by using Pyinstaller, unfortunately I have an error when I try to run the resulting file. It says that it does not find the library rospy.

import rospy
print('Hello World')

I have using Python 2.7, PyInstaller 3, Ros Kinect, and Ubuntu 16.04.

Do you have any suggestion? Have you compiled Python code using ROSPY with Pyinstaller?

Thanks!

edit retag flag offensive close merge delete

Comments

unfortunately I have an error when I try to run the resulting file

What's the error? How are you running it? Also, I have a feeling that you may have a difficult time getting help here as this question is the only one using the "Pyinstaller" tag. You may want to ask on one of the...

jayess gravatar image jayess  ( 2018-12-22 21:14:46 -0500 )edit

Stack Exchange sites.

jayess gravatar image jayess  ( 2018-12-22 21:15:00 -0500 )edit

Can you please copy and paste the error?

jayess gravatar image jayess  ( 2018-12-23 11:53:17 -0500 )edit

error ? i think you should paste the error to this topic

bao041115 gravatar image bao041115  ( 2020-04-22 21:42:08 -0500 )edit