Roslaunch 'No such file or directory' even though python files are properly defined in the launch file

Hello, I have this weird error where i got a Roslaunch ‘No such file or directory’ even though the python files are properly defined in the launch file. I have attached pictures below referring to the error and the test code that i used.

Error


Launch file

Python file

Hello @james_halim,

You were able to solve this issue, right? I just did some tests with your packages and I’ve seen it’s working OK now.

Best,

Yea it was a syntax error in one of my python files.
Wrong

#! usr/bin/env python

Correct:

#! /usr/bin/env python

1 Like