ImportError : No module named xxxx.msg
Hello everyone. I migrate an installation from one computer to another, switching from Ubuntu 12.04 to 16.04 and from indigo ros to kinetic When I run my installation that has about 30 packages most of the things seem to start well except for a package that fails to make an import I specify that I do not have this error on the computer of the previous configuration, or everything is identical in my programs, except the denomination of indigo and kinetic The error is as follows:
From my_folder_msgs.msg import my_file as My_fileMsg
ImportError : No module named my_folder_msgs.msg
Of course, my_folder_msgs.msg exists and appears when I call: rosmsg list.
Would anyone have an idea?
Hi, Make sure you got the "#!/usr/bin/env python" line at top of your python file, also make sure that youre customs messages are built. You can check with rosmsgs list | grep your_custom_msgs
Nicolas
Thank you for your message. everything was as you advised
https://www.theconstructsim.com/solve...