Anaconda python 3.9.11 + (at least) black broken

Steps to reproduce:
miniconda, Windows 10 x64

conda create -n tmp python=3.9.11 black
conda activate tmp
black .

will result in an error

\lib\site-packages\typed_ast\", line 40, in
from typed_ast import _ast3
ImportError: DLL load failed while importing _ast3

Rolling back to python 3.9.7 clears the issue - everything works as expected.

Python build 3.9.11-h6244533_2 fixed it. Thanks!

1 Like