microsoft / microsoft/PTVS

Cannot install 'black' formatter for Python in VS22

Open
#7,952 6 comments 0 reactions 1 assignee View on GitHub

@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:
image.png

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

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.