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

click._bashcomplete #1

Closed
liutiming opened this issue Sep 19, 2021 · 3 comments
Closed

click._bashcomplete #1

liutiming opened this issue Sep 19, 2021 · 3 comments

Comments

@liutiming
Copy link
Contributor

liutiming commented Sep 19, 2021

Thanks for this awesome watcher!

I have got issues running the watcher with the following traceback and potentially related issues celery/celery#6511 click-contrib/click-repl#72:

I wonder what we can do about this?

aw-watcher-ask run --help
Traceback (most recent call last):
  File "/home/timing/.local/bin/aw-watcher-ask", line 5, in <module>
    from aw_watcher_ask.cli import app
  File "/home/timing/.local/lib/python3.8/site-packages/aw_watcher_ask/cli.py", line 12, in <module>
    import typer
  File "/home/timing/.local/lib/python3.8/site-packages/typer/__init__.py", line 29, in <module>
    from .main import Typer as Typer
  File "/home/timing/.local/lib/python3.8/site-packages/typer/main.py", line 11, in <module>
    from .completion import get_completion_inspect_parameters
  File "/home/timing/.local/lib/python3.8/site-packages/typer/completion.py", line 10, in <module>
    import click._bashcomplete
ModuleNotFoundError: No module named 'click._bashcomplete'
@bcbernardo
Copy link
Owner

I've just updated the watcher's dependencies so that it uses Typer>=0.4. This should solve the problem (see fastapi/typer#278 ).

Can you upgrade or reinstall the package and confirm whether the problem remains?

@bcbernardo
Copy link
Owner

Closing this issue as it appears to be solved. Feel free do add further comments or open a new issue if that is not the case.

@liutiming
Copy link
Contributor Author

Yes it is resolved. Thank you!

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

2 participants