Skip to content

[BUG?] koboldcpp.py fails to start launcher from folder created by --unpack #2157

@alex-ie

Description

@alex-ie

Describe the Issue
The behavior of python3 koboldcpp.py differs from one of standalone exec file. Standalone starts Launcher by default, but extracted one produces "errors": 'No module named darkdetect' and 'customtkinter python module required'.

Wiki:

Launching with this flag allows the internal contents of the KoboldCpp pyinstaller binary to be unpacked into a directory. This is useful for modifying or replacing files, and KoboldCpp can then be launched by running python3 koboldcpp.py

This seems minor, the launcher can still be started from its own exec file as I have found out by try-and-error, but confusing for newbies. If the fix is not easy, let us improve description in wiki a bit:

Launching with this flag allows the internal contents of the KoboldCpp pyinstaller binary to be unpacked into a directory (e.g. KoboldCpp). This is useful for modifying or replacing files, and KoboldCpp can then be launched by running python3 KoboldCpp/_internal/koboldcpp.py with flags to launch it without a GUI. To run GUI launcher, execute KoboldCpp/koboldcpp-launcher.

P.S. I have found mentioning issue with TKinter in wiki, but GUI works on my system when run from a single exec file.

Additional Information:
v1.111.2 Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions