cascadium / wsl-windows-toolbar-launcher

Adds linux GUI application menu to a windows toolbar
MIT License
1.21k stars 50 forks source link

cannot import name 'raw_input' from 'click._compat' #47

Closed goztrk closed 2 years ago

goztrk commented 2 years ago

I am getting this error on a fresh archlinux WSL2 install.

Traceback (most recent call last):
  File "/home/goztrk/.local/bin/wsl-windows-toolbar", line 5, in <module>
    from wsl_windows_toolbar.wsl_windows_toolbar import cli
  File "/home/goztrk/.local/lib/python3.10/site-packages/wsl_windows_toolbar/wsl_windows_toolbar.py", line 16, in <module>
    from click._compat import raw_input
ImportError: cannot import name 'raw_input' from 'click._compat' (/home/goztrk/.local/lib/python3.10/site-packages/click/_compat.py)
goztrk commented 2 years ago

Ohh okay pip install --user click==7.1.2 did the trick. I don't know why but even if its specified in the requirements.txt that it should install click v7.1.2 it installed the latest version.