ephes / kptncook

Fetch receipts from kptncook API and export them to mealie or paprika
MIT License
42 stars 4 forks source link

Cli command raises exception :( #5

Closed ephes closed 2 years ago

ephes commented 2 years ago

Probably a compatibility issue between click and typer.

╰─>$ kptncook --help                                   Mi 30 Mär 18:14:20 2022
Traceback (most recent call last):
  File "/Users/jochen/.local/bin/kptncook", line 5, in <module>
    from kptncook import cli
  File "/Users/jochen/.local/pipx/venvs/kptncook/lib/python3.10/site-packages/kptncook/__init__.py", line 8, in <module>
    import typer
  File "/Users/jochen/.local/pipx/venvs/kptncook/lib/python3.10/site-packages/typer/__init__.py", line 12, in <module>
    from click.termui import get_terminal_size as get_terminal_size
ImportError: cannot import name 'get_terminal_size' from 'click.termui' (/Users/jochen/.local/pipx/venvs/kptncook/lib/python3.10/site-packages/click/termui.py)