Open UobinnaO opened 1 year ago
I had the exact same problem, downgrading black to 23.9.1 (the current version is 23.10.1) fixed it:
pip install --force-reinstall -v "black==23.9.1"
I hope it helps!
This happens straight with a fresh anaconda install plus installing this package with the anaconda-navigator environment manager. The installed black package is marked as 23.3.0 in the environment manager but for strange reasons !pip show black
lists it as version 0.0 (when run from the Jupyter Lab console).
Not sure what I did wrong here. My Python version is 3.11.5/Conda version 23.7.4, finished pip installing the formatter and the black isort then tried to format my code.
Thanks!