MAVROS Offboard control example (Python)

Hello! I cannot run the python code in GAZEBO 11 in my laptop. It is showing the error
“bash: /home/nabarun1/PX4-Autopilot/Tools/simulation/gazebo/setup_gazebo.bash: No such file or directory”
Any body please help.
Regards,
Nabarun Sarkar
Research Scholar (PhD) IIT Kharagpur, India

Which python code are you trying to run?

And have you checked whether the file exists that the error is showing?

The code should be located at the directory if you use PX4 1.13. If you are using an older version of PX4 the location of the file is slightly different, I would then suggest changing the code to point to the correct file instead.