Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

python3 shebang--does this work in FreeBSD? #18

Closed
jimsalterjrs opened this issue Jan 20, 2022 · 3 comments
Closed

python3 shebang--does this work in FreeBSD? #18

jimsalterjrs opened this issue Jan 20, 2022 · 3 comments

Comments

@jimsalterjrs
Copy link
Owner

@Freaky, I discovered after merging your patches today that ioztat does not work on the Python2.7 that my Ubuntu workstation at the home office provides with "env python". I had to update the shebang to "env python3" to get it to work again.

This should be fine for Ubuntu, but does it work in FreeBSD-land as well? I don't know if there's a python3 executable in your environment, or whether there is only python and you get what you get.

@stuartthebruce
Copy link

+1 as there is no /usr/bin/python by default on RHEL 8 (or derived) systems, and for my first testing of ioztat I had to manually edit the shebang to python3 for my Rocky Linux 8 systems.

@Freaky
Copy link
Collaborator

Freaky commented Jan 20, 2022

Yes, python is just a symlink to python3. I should have made it that in the first place but I wasn't 100% on how universal that was.

@jimsalterjrs
Copy link
Owner Author

Fantastic. Thanks for the confirmation!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants