LARG / HFO

Half Field Offense in Robocup 2D Soccer
MIT License
232 stars 93 forks source link

/usr/bin/env: "python": No such file or directory #99

Closed MoonieC closed 4 years ago

MoonieC commented 4 years ago

Hi @mhauskn , sorry to bother you again.

I think I have successfully fullfilled the steps to install this HFO enviroment, but when I try the demos, "./example/passing_agents.sh", it says "/usr/bin/env: "python": No such file or directory" as follows: image

MoonieC commented 4 years ago

By the way, my python version is 3.6.9 and pip3, I didn't install pip. And I use the "pip3 install ." to interface python. Is this the problem?

mhauskn commented 4 years ago

A few options you could try: python3 example/passing_agents.sh

Or change the string to be "/usr/bin/env python3".

Or symlink your python3: sudo ln -s /usr/bin/python3 /usr/bin/python

MoonieC commented 4 years ago

Thank you soooo much! I tried method NO.3 and it solved!