question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'click._bashcomplete'

See original GitHub issue

Just installed typer and typer-cli for trying out.

Env: Python 3.8 conda env, installed typer and typer-cli via conda

╰─ mamba list click                                                                                                                 ─╯
# packages in environment at /home/maye/miniconda3/envs/py38:
#
# Name                    Version                   Build  Channel
click                     8.0.3            py38h578d9bd_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
(py38) 
╭─ ~/Dropbox/src/uvis_pdart_project  main ?1 ········································································ ✔  14:43:54 ─╮
╰─ mamba list typer                                                                                                                 ─╯
# packages in environment at /home/maye/miniconda3/envs/py38:
#
# Name                    Version                   Build  Channel
typer                     0.4.0              pyhd8ed1ab_0    conda-forge
typer-cli                 0.0.12             pyh6c4a22f_1    conda-forge

Trying to use typer script.py run I get this error, despite click being installed:

typer create_meeting_notes.py run                                                                                                ─╯
Traceback (most recent call last):
  File "/home/maye/miniconda3/envs/py38/bin/typer", line 6, in <module>
    from typer_cli.main import main
  File "/home/maye/miniconda3/envs/py38/lib/python3.8/site-packages/typer_cli/main.py", line 11, in <module>
    from click._bashcomplete import get_choices as original_get_choices  # type: ignore
ModuleNotFoundError: No module named 'click._bashcomplete'

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

3reactions
michaelayecommented, Jan 7, 2022

this IS #53 ?

2reactions
musicinmybraincommented, Jan 7, 2022

this IS #53 ?

Ha! That’s funny. I meant to say that this appears to be the same as https://github.com/tiangolo/typer-cli/issues/50, in which the current version of typer-cli still only works with typer 0.3.x and click 7.x.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named 'click._bashcomplete' · Issue #91 ... - GitHub
The latest version of click: 8.0.1 breaks typer which is one of our ... _bashcomplete ModuleNotFoundError: No module named 'click.
Read more >
Jupyter Notebook Python Error while Importing Spacy
Jupyter Notebook Python Error while Importing Spacy : No module named click._bashcomplete ; As a note: don't post screenshots, copy/paste your ...
Read more >
no module named 'click._bashcomplete' ( Fix it )
Modulenotfounderror : no module named 'click._bashcomplete' error occurs because of the incompatibility between click module and spacy module.
Read more >
ModuleNotFoundError: No module named 'click' in Python
The Python "ModuleNotFoundError: No module named 'click'" occurs when we forget to install the click module before importing it or install it in...
Read more >
FS#71044 : [python-click-repl] ModuleNotFoundError
FS#71044 - [python-click-repl] ModuleNotFoundError: No module named 'click._bashcomplete'. Attached to Project: Community Packages
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found