You are not logged in.

#1 2025-12-19 12:15:57

0xAhmad
Member
Registered: 2025-12-19
Posts: 4
Website

[SOLVED] bottles throws: ModuleNotFoundError

I installed bottles package from the AUR, and whenever I run bottles it outputs this:

Traceback (most recent call last):
  File "/usr/bin/bottles", line 49, in <module>
    from bottles.frontend import main
  File "/usr/share/bottles/bottles/frontend/main.py", line 44, in <module>
    from bottles.frontend.views.preferences import PreferencesWindow
  File "/usr/share/bottles/bottles/frontend/views/preferences.py", line 29, in <module>
    from bottles.frontend.widgets.component import ComponentEntry, ComponentExpander
  File "/usr/share/bottles/bottles/frontend/widgets/component.py", line 26, in <module>
    from bottles.backend.utils.manager import ManagerUtils
  File "/usr/share/bottles/bottles/backend/utils/manager.py", line 25, in <module>
    import icoextract  # type: ignore [import-untyped]
    ^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'icoextract'

I tried to solve the issue by installing icoextract package from the AUR:

aur/icoextract 0.2.0-1 (+51 1.38) (Installed)
    Icon extractor for Windows PE files (.exe/.dll) with optional thumbnailer functionality

but nothing changed and the bottles issue persists.

Last edited by 0xAhmad (2025-12-19 15:30:21)

Offline

#2 2025-12-19 14:26:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: [SOLVED] bottles throws: ModuleNotFoundError

Make sure you aren't in a python venv when launching/installing bottles and/or icoextract.

Offline

#3 2025-12-19 15:29:52

0xAhmad
Member
Registered: 2025-12-19
Posts: 4
Website

Re: [SOLVED] bottles throws: ModuleNotFoundError

I made sure I am not in a python venv and I was using /usr/bin/python.

Anyways I rebuilt bottles and a bunch of packages and the issue is solved:

yay -S --rebuild vkbasalt-cli python-fvs patool icoextract python-pathvalidate bottles

Last edited by 0xAhmad (2025-12-19 15:31:59)

Offline

Board footer

Powered by FluxBB