Importerror: Cannot Import Name 'Get_Terminal_Size' from 'Click. Termui'
Using Python Lib Typer Throws an Error. Some of the Depended Stacktrace: .. . Import Typer File "/Builds/. .. /. Venv/Lib/Python3.9/Site-Packages/Typer/__Init__...
Using python lib typer throws an error.
some of the depended stacktrace:
...
import typer
File "/builds/.../.venv/lib/python3.9/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' (/builds/.../.venv/lib/python3.9/site-packages/click/termui.py)
1 Answer
Ah sry, i had to update to the latest version 0.4.1.
Depended pr:
(Only leave this answer if anyone makes the same mistake.)