Re: Path puzzle
bob prohaska <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 05, 2024 at 07:47:23PM +0100, Steve O'Hara-Smith wrote: > On Thu, 5 Sep 2024 11:37:06 -0700 > bob prohaska <[email protected]> wrote: > > > bob@pelorus:~ % head server_try > > #!/usr/bin/python3.11 > > Bingo! On FreeBSD python3.11 will be in /usr/local/bin not /usr/bin. > > This is why the recommended shebang for python code is > > #!/usr/bin/env python3.11 > > Which is portable. Thank you....never crossed my mind to check the executable location 8-( It turns out that the python code being run (from https://gitlab.com/ldo/ssl_try_python) works on Debian Linux Bookworm but not on FreeBSD stable/14.1. Is there a guide to differences between the dialects? Apologies for the noise..... bob prohaska > > -- > Steve O'Hara-Smith <[email protected]>