Skip to content

ModuleNotFoundError: No module named 'rich._cell_widths' #72

Description

@Pokedude1110

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'

(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

  • OS: Windows 11 25H2
  • PyMusicLooper 3.6.0
  • FFmpeg 8.1.1
  • Python 3.12.13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions