I don’t know if this is current best practices, but I’ve always used `/etc/paths` to add directories to my $PATH. This way I’m sure that it applies to all programs, GUI and command-line, running as me or as root.

I don’t know what the implications would be for using Conda’s Python outside of a Conda environment, but I assume you’ve thought about that and it’s fine.

Hope this helps.
-sam

On 11 Mar 2020, at 18:48, Rick Yentzer wrote:

It's been a while since I've focused on Python but, according I found this
in the manual on page 335:

Locating Unix tools via PATH
When locating Unix tools for various purposes, BBEdit will honor your
account’s PATH environment variable (provided it is available and not
empty). This should result in more predictable outcomes when using
aftermarket installations of open-source tools as well as for alternative
installations of tools included with the system (such as Python).

If you modify your PATH, you must quit and relaunch BBEdit for those
changes to take effect. Note also that if your PATH contains entries
relative to the current working directory, those entries are not likely to work since $PWD is undefined for a GUI application, though absolute paths
will work.


Hope that helps.

Thanks,
Rick Yentzer

On Wednesday, March 11, 2020 at 6:06:02 PM UTC-4, leecreighton wrote:

Apparently I've got a couple of python interpreters installed (notably one at /usr/local/bin and one at /opt/anaconda3/bin and maybe others). They don't have identical modules installed so I get errors when I run in BBEdit
vs when I run in IDLE or python terminal.

I'd loke to point BBEdit to the anaconda3 version, but I can't find a
preference for it. Anyone know?

lc


--
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/00886106-2da4-440e-ba68-681f8cb698d6%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/E9CF54BD-4D63-4112-A258-07EC8D8A1996%40munkynet.org.

Reply via email to