-
Notifications
You must be signed in to change notification settings - Fork 452
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
Could not find 'black'. The program may not be installed. #2597
Comments
I am experiencing the same issue and have followed the same troubleshooting steps described by Doekeb without success :/ |
possible insight that might help debugging: mine was working fine then i did an
I cant remember what version I had before but I rolled back to |
Same. Only |
For anyone looking for a quick solution: |
Figured out the issue, version number is getting reported differently now. Cracked open
Good enough for me, will look into contributing a proper PR for it when I have the bandwidth. |
Description
Atom Beautify cannot find Black. Running Atom Beautify on even an empty Python file fails with the following message:
Steps to Reproduce
test.py
.Atom Beautify: Beautify Editor
Note: I have double-checked that black is installed (in my system python—not a virtual environment). Running
which black
returns the absolute path. I get the same results as above even if I set the absolute path of the executable in Atom Beautify settings. Additionally, I can successfully run black on a file manually from the command line.Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/Doekeb/28a2722ef36c776a733b61d3e5d9f0baChecklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: