wbolster / emacs-python-black

Emacs package to reformat Python using black-macchiato
BSD 3-Clause "New" or "Revised" License
95 stars 11 forks source link

Searching for program #10

Closed Cletip closed 2 years ago

Cletip commented 2 years ago

Hello, I use Anaconda for black. So black is under :  ~/anaconda3/bin/black

So when I use pthyon-black, I have this error : Searching for program: No such file or folder, black

I may have missed something else, but thanks for your answers ^^

wbolster commented 2 years ago

you need to adapt your search path. please have a look at the readme for one of my other python related emacs packages for inspiration to deal with this exact problem:

https://github.com/wbolster/emacs-python-pytest