Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Code Formatter Line Length Error #326

Open
UobinnaO opened this issue Oct 4, 2023 · 2 comments
Open

Jupyter Code Formatter Line Length Error #326

UobinnaO opened this issue Oct 4, 2023 · 2 comments

Comments

@UobinnaO
Copy link

UobinnaO commented Oct 4, 2023

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!

Jupyterlab Line Length Error

pip installation for formatter

@enarroied
Copy link

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!

@tvogel
Copy link

tvogel commented Dec 1, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants