ros2 run {global_node} {local_executable}

ros2 run my_py_pkg and press double tab : gives all executable available.

gedit ~/bashrc

and fix it.