Cannot install 'black' formatter for Python in VS22
Open
@AdamYoblick is already working on this.
Since Jul 16, 2024.
needs investigation
- Dominant language
- C#
- Stars
- 2.6k
- Forks
- 680
- Avg merge
- 39m
- Merged PRs (30d)
- 1
Description
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
When trying to reformat Python code in Visual Studio 2022 (CTRL + K + D), it shows this pop-up:

After pressing "Yes", the Output window shows install progress, but after it's done, I still get the same pop-up:

Changing formatter to something other than 'black' doesn't resolve the issue, I still get stuck in an endless loop.
Original Comments
Feedback Bot on 7/4/2024, 07:18 PM:
(private comment, text removed)
Original Solutions
(no solutions)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.