LinuxDan The line of code you suggested is exactly the line I've been using, and I get
#!/usr/bin/python3: No such file or directory But in the shell I'll set that it is there Emonda:bin paul$ whereis python3 /usr/bin/python3 I'm stumped. On Thursday, March 5, 2020 at 8:20:24 AM UTC-5, LinuxDan wrote: > > Try > > #!/usr/bin/python3 > > > Dan White | [email protected] <javascript:> > ------------------------------------------------ > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” (Bill > Waterson: Calvin & Hobbes) > > On March 5, 2020 at 7:06 AM, Paul Gobble <[email protected] > <javascript:>> wrote: > > I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to > learn a bit of Python3. > > #!/usr/bin/env python3 > print('Hello World') > > Baby steps. > > 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 > > Then I try to use the direct path in the shebang line > > #!/usr/bin/python3 > print('Hello World') > > and get a very similar response > > /Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such > file or directory > > So I go investigate in the Terminal app and look around. > > Emonda:bin paul$ pwd > > /usr/local/bin > > Emonda:bin paul$ whereis python3 > > /usr/bin/python3 > > Emonda:bin paul$ whereis env > > /usr/bin/env > > Emonda:bin paul$ > > Both env and python3 are right where I said they were in the shebang line, > but interpreter can't find them! > > Can anyone help me out here? What am I missing? > > Thanks, > Paul > > > -- > 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/733447e6-cbe5-4b02-bb82-bd26d026e1bd%40googlegroups.com > > <https://groups.google.com/d/msgid/bbedit/733447e6-cbe5-4b02-bb82-bd26d026e1bd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- 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/3609b0ba-928b-46f9-ba17-91b1763e403b%40googlegroups.com.
