Not able to execute or start learning ROS... Need Urgent Help

Hi why am I not able to execute a simple command on web shell ?
authorized all permissions unable to run a simple roslaunch command.

user:~/catkin_ws$ roslaunch my_package_launch_file.launch
RLException: [my_package_launch_file.launch] is not a launch file name
The traceback for the exception was written to the log file

about to lose interest in this course.

chmod +x into every possible file, but there comes one or the other error even on my ubuntu laptop from terminal…!

the 5 days course has taken me more than 15 days.

and not able to get past unit 2.
(actually skipped past most chapters until road blocked unit 4, as understood the chapters, but while executing not one command has executed which was created according to the steps)

ps: i am about to start hating ROS for the rest of my life…!!

user:~/catkin_ws$ roslaunch my_package_launch_file.launch
RLException: [my_package_launch_file.launch] is not a launch file name
The traceback for the exception was written to the log file
user:~/catkin_ws$ ls -la
total 24
drwxr-xr-x 5 user user 4096 May 15 05:45 .
drwxr-xr-x 10 user user 4096 May 15 07:20 …
-rw-r–r-- 1 user user 98 Dec 7 2020 .catkin_workspace
drwxr-xr-x 11 user user 4096 May 15 05:45 build
drwxr-xr-x 4 user user 4096 May 15 05:45 devel
drwxr-xr-x 3 user user 4096 May 15 06:38 src
user:~/catkin_ws$

This is the permissions list from my end

Often this fail has nothing to do with permissions, and is normally because the file is not named correctly, or in the wrong workspace, or the workspace hasn’t been sourced properly.

Also isn’t the launch file in a package? I would expect the roslaunch to read more like roslaunch my_package_ws my_package_launch_file.launch

If you get frustrated this early you have to think about how the learning curve is very steep. I’ve found learning to troubleshoot the most useful skill in robots and this is a really good chance to use this as a learning experience.

This solution worked on web shell but not my terminal. Thank you Brian

a simple amateur syntax error.

although the error below is related to some python environment

had come across various other errors found few solutions that worked, but this is something new.

Could you please suggest the possibilities…

Thanks mate.

I think i have had the most amount of errors for running a simple hello world kind of program.

Hahaha… might have been a record.

Hi @Aayush_hegde , welcome to the community!

Please post new questions on a separate post if the current one has been marked as solved.

I think you have python3 installed instead of python which is specified in your python file shebang (the very first line). Try adding a 3

Thanks @roalgoal worked