Ask Your Question

/usr/bin/env: pythone Agreement (BSD License)

asked 2015-08-31 04:11:24 -0500

mgangster gravatar image

updated 2015-08-31 04:20:24 -0500

gvdhoorn gravatar image

In the Core ROS Tutorials - Examining the Simple Publisher and Subscriber, when I am running the Subscriber

$ rosrun beginner_tutorials

it returns

/usr/bin/env: pythone Agreement (BSD License): No such file or directory


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-01 21:52:33 -0500

sloretz gravatar image

Looks like the first line of has been corrupted. The first line of a script usually has a shebang. It's a hint that tells your shell which program it should use to execute the script. /usr/bin/env is complaining because it was asked to find a program called "pythone Agreement (BSD License)"

Since it's been corrupted it's probably best to download the file again. If you instead want to try to fix it then edit so the very first line is this.

#!/usr/bin/env python

This tells your shell to use /usr/bin/env to find python and have it run this script.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-08-31 04:11:24 -0500

Seen: 189 times

Last updated: Sep 01 '15