Nestor, Thanks for your help, but my results were different. I set /use/bin/ to be first search path.
paul@Emonda ~ % PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin paul@Emonda ~ % env ... PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin ... Then I asked the terminal what it knows about the location of Python3 paul@Emonda ~ % python3 --version Python 3.7.3 paul@Emonda ~ % which python3 /usr/bin/python3 paul@Emonda ~ % whereis python3 /usr/bin/python3 By all accounts, my terminal knows where Python3 is, and it recognizes the location as being the same as the location I put first in env, /use/bin/ Any clues? On Thursday, March 5, 2020 at 6:40:08 PM UTC-5, Nestor Aguilera wrote: > > > > > On 5 Mar 2020, at 14:43, Paul Gobble <[email protected] <javascript:>> > wrote: > > > > Rich, > > > > Here's what I get… > > > > Emonda:bin paul$ python3 --version > > Python 3.7.3 > > And this is what I get in my system: > > $ python3 --version > Python 3.8.2 > $ which python3 > /usr/local/bin/python3 > $ whereis python3 > $ > > that is, can't find python3. > > There is no file with name starting with python3 in my /usr/bin (but there > are several in /usr/local/bin). I guess this depends on the macOS version > (I am on 10.14 Mojave). > > I installed the python3 version with the pkg in > https://www.python.org/downloads which puts > /Library/Frameworks/Python.framework/Versions/3.8/bin at the top of the > path, but I changed that. Anyway, /usr/local/bin and /usr/bin are at the > top om my path. > > Hope it helps. > > Best, > > Nestor > > #---------------------------------------------- > > > > > > > > > On Thursday, March 5, 2020 at 8:23:07 AM UTC-5, Rich Siegel wrote: > > On 3/4/20 at 11:25 PM, [email protected] (Paul Gobble) wrote: > > > > > I try to execute this from the Run menu item in the #! menu and get > > > > > > /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such > file > > > or directory > > > > /usr/bin/python3 is a stub provided by the OS. What happens if you: > > > > python3 --version > > > > ? > > > > R. > > -- > > Rich Siegel Bare Bones Software, Inc. > > <[email protected]> <https://www.barebones.com/> > > > > > Someday I'll look back on all this and laugh... until they sedate me. > > > > > > -- > > This is the BBEdit Talk public discussion group. If you have a feature > request or need technical support, please email "[email protected] > <javascript:>" rather than posting here. Follow @bbedit on Twitter: < > https://twitter.com/bbedit> > > --- > > You received this message because you are subscribed to the Google > Groups "BBEdit Talk" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/3e2a4d79-e7c3-456b-bf47-d388d00c7c6d%40googlegroups.com. > > > > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/8c5b6c70-079f-4e36-9adf-f5f51b7cc0ec%40googlegroups.com.
