-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python-tools was unable to find your machine's python executable. Please try set the path in package settings and then restart atom. If the issue persists please post an issue on https://github.com/michaelaquilina/python-tools/issues/new #293
Comments
same issue last few days |
I only get this issue when launching from spotlight. If I launch from terminal, everything works fine. |
LoL. Confirmed. Running Atom from Spotlight or Dock raise the above issue, Terminal |
Workaround does not fix his. I have even tried to put in path, but still no luck |
Same issue. When I launch from terminal using command line tool, no error. When I launch from Spotlight, Dock, or double-clicking the application icon via Finder.app, I get the "can't find Python executable error" for python-tools. Interestingly enough, when I check the environment using the Atom DevTools console using process.env, the following differences show up: on the shell-executed Atom, the following exist that don't from the Finder-executed Atom: The following exist on the Finder-launched Atom that do not from the shell-launched Atom: Other differences: So environmentally speaking, on MacOS 12.3.1 (Monterey), those are the environment differences seen by Atom depending on whether or not the user launches it from the shell or the Finder. I use miniconda3 to manage my virtual environments, and in both launch types, the CONDA* variables are identical, and are the appropriate environments I want Atom to pick up from a default shell. When I change the conda env at the command line and launch Atom in the same shell, I get the new conda env to which I set that shell... so that works. Hopefully, this helps with debugging. I found it interesting that the Atom/Electron/Chromium dev tools prompt isn't mentioned in the Atom documentation... it REALLY helps debug environmental things like this. For now, I launch from the shell using the "atom" command and all is well. It would be nice if we could use the MacOS Finder/Spotlight/Dock provided ways of launching, too... |
Error: spawn python ENOENT
The text was updated successfully, but these errors were encountered: