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

ImportError: cannot import name '_unicodefun' from 'click' while running black #1362

Closed
marco-c opened this issue Mar 30, 2022 · 0 comments · Fixed by #1360
Closed

ImportError: cannot import name '_unicodefun' from 'click' while running black #1362

marco-c opened this issue Mar 30, 2022 · 0 comments · Fixed by #1360
Assignees

Comments

@marco-c
Copy link
Contributor

marco-c commented Mar 30, 2022

Traceback (most recent call last):
  File "/root/.cache/pre-commit/repo91bgb0b5/py_env-python3/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/root/.cache/pre-commit/repo91bgb0b5/py_env-python3/lib/python3.7/site-packages/black/__init__.py", line 1423, in patched_main
    patch_click()
  File "/root/.cache/pre-commit/repo91bgb0b5/py_env-python3/lib/python3.7/site-packages/black/__init__.py", line 1409, in patch_click
    from click import _unicodefun
ImportError: cannot import name '_unicodefun' from 'click' (/root/.cache/pre-commit/repo91bgb0b5/py_env-python3/lib/python3.7/site-packages/click/__init__.py)
@marco-c marco-c self-assigned this Mar 30, 2022
@marco-c marco-c linked a pull request Mar 30, 2022 that will close this issue
@marco-c marco-c assigned suhaibmujahid and unassigned marco-c Mar 30, 2022
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

Successfully merging a pull request may close this issue.

2 participants