atom-python-black icon indicating copy to clipboard operation
atom-python-black copied to clipboard

How to set up the path to executable on Windows?

Open morphogencc opened this issue 4 years ago • 1 comments

In the power shell, I can enter:

python -m black <filename>

and black will run.

However, I can't what format the Atom config wants.

It isn't:

  • python -m black
  • python3 -m black
  • C:\Python38\python.exe -m black

So how should I enter the path to black?

morphogencc avatar Jan 07 '22 03:01 morphogencc

Copy the path to the black executable. If you're using a conda environment, you can type where black, and copy that path

CaptainStabs avatar Jun 16 '22 15:06 CaptainStabs