Black suddenly stopped working

By running black “filename” from the Anaconda Powershell terminal I get the following error:

Traceback (most recent call last):
File “C:\Users\yt75534\Anaconda3\Scripts\”, line 5, in
from black import main
File “C:\Users\yt75534\Anaconda3\lib\site-packages\”, line 45, in
from typed_ast import ast3, ast27
File “C:\Users\yt75534\Anaconda3\lib\site-packages\typed_ast\”, line 40, in
from typed_ast import _ast3
ImportError: DLL load failed while importing _ast3: The specified procedure could not be found.

Running on Windows 10. Before everything was working but all of a sudden it is not working any longer.

Uninstalled/re-installed Anaconda fixed everything! :smiley:

1 Like