Linunx—@ error/constitute.c/WriteImage/1037.

Learning ROS in the Linux system, during the programming process of testing the publisher Publisher, when executing the 'learn_publish.py' file to be tested, the following error occurred:

Solution :

Add the code in the first line of the 'learn_publish.py' file: #!/usr/bin/env python . After adding, click "Save" file in the upper right corner.

Here's how to do it:

           

 

Guess you like

Origin blog.csdn.net/weiyuangong/article/details/120605460