ImportError: cannot import name 'echo' from 'click' (unknown location)
envgap__psf__black-2634
Original GitHub issue ↗Opened 2021-11-22
01 / FAILURE SIGNATURE
As reported upstream
error: metadata-generation-failed
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
requirements.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
psf/black #2634 · read the original issue
I'm using Python 3.8.9 with conda environment and resulted in this problem
```
Traceback (most recent call last):
File "/Users/mac/opt/anaconda3/bin/black", line 5, in <module>
from black import patched_main
File "/Users/mac/opt/anaconda3/lib/python3.8/site-packages/black/__init__.py", line 46, in <module>
from black.concurrency import cancel, shutdown, maybe_install_uvloop
File "/Users/mac/opt/anaconda3/lib/python3.8/site-packages/black/concurrency.py", line 6, in <module>
from black.output import err
File "/Users/mac/opt/anaconda3/lib/python3.8/site-packages/black/output.py", line 11, in <module>
from click import echo, style
ImportError: cannot import name 'echo' from 'click' (unknown location)
```
I tried to installing click by `pip install click` but the problem still persists04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.