This is the first part of my code:
#!/usr/bin/env python
import os
import sys
import signal
import rospy
import time
Even then I got the error saying that:
line 1:#!/usr/bin/env: no such file or directory
line 3: import command not found
how ever it is working normally when I run with Python
Before running it I even did this
source ~/catkin_ws/devel/setup.bash
↧