[ros-users] [Discourse.ros.org] [General] ROS2: Cannot run m…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dirk Thomas via ros-users
Date:  
To: ros-users
CC: Dirk Thomas
Subject: [ros-users] [Discourse.ros.org] [General] ROS2: Cannot run my Python script, "No executable found" error


[quote="ArkadiuszN, post:1, topic:3912"]
After building and trying to run it I get: `No executable found`.
[/quote]

You didn't mention what exact command you invoked when you got this error message.

If you are trying to call `ros2 run ...` that won't work since that command expects the executable to be in the path `<install-prefix>/lib/<pkgname>`. Your script `rtcm_publisher_old` is likely being installed into `<install-prefix>/bin` and is therefore already on the `PATH`. You should be able to invoke the executable directly using just the name.





---
[Visit Topic](https://discourse.ros.org/t/ros2-cannot-run-my-python-script-no-executable-found-error/3912/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>