For me, the way to fix was to change the black-formatter.importStrategy
to fromEnvironment
instead of useBundled
. They update the black formatter version in the extension every now and again, and if it's a different version than your command line version they may disagree, so it's better IMO to just use the black
from the environment.