0
$\begingroup$

I am trying to make a turtlesim script in python, first of all what is difference between "source .../install/setup.bash" ( this works) and "source /opt/ros/humble/setup.bash" ( this doesn't work, it shows package not found) after this when I am running the python script ( I have included Shebang line "#!/usr/bin/env python3")it is showing no executable found, even after execution permission ( chmod +x <script_name>.py) enter image description here

$\endgroup$
1
  • $\begingroup$ In the future, make sure to tell us which Operating System and version you are using. But even without that info, @JRTG 's answer is still the right one. $\endgroup$
    – Mike973
    Nov 11, 2023 at 14:20

1 Answer 1

1
$\begingroup$

I suggest to install according to the official install instructions, and then to follow the tutorials.

They explain how to create a package, source the ROS install and your own package, etc.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.