Recently I had to upgrade to Windows 11, and now whenever I run the application with any command, it throws this error:
PS C:\Users\poked> pymusiclooper --debug
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "c:\users\poked\.local\bin\pymusiclooper.exe\__main__.py", line 4, in <module>
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\pymusiclooper\__main__.py", line 3, in <module>
from pymusiclooper.cli import cli_main
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\pymusiclooper\cli.py", line 8, in <module>
from rich.logging import RichHandler
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\rich\logging.py", line 11, in <module>
from ._log_render import FormatTimeCallable, LogRender
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\rich\_log_render.py", line 5, in <module>
from .text import Text, TextType
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\rich\text.py", line 21, in <module>
from ._wrap import divide_line
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\rich\_wrap.py", line 7, in <module>
from .cells import cell_len, chop_cells
File "C:\Users\poked\AppData\Roaming\uv\tools\pymusiclooper\Lib\site-packages\rich\cells.py", line 6, in <module>
from ._cell_widths import CELL_WIDTHS
ModuleNotFoundError: No module named 'rich._cell_widths'
Recently I had to upgrade to Windows 11, and now whenever I run the application with any command, it throws this error:
(Note that I am using a Powershell here, but the same problem occurs in a normal command prompt window, with or without admin privileges)
Environment Information