Skip to content

getting "no module named customtkinter" error dispite having it installed #138

@Dragolm

Description

@Dragolm

So whenever I try to run the koboldcpp.py file I get 2 unexpected errors:

   An unexpected error occurred: [Errno 2] No such file or directory: 'rocminfo' 
   An unexpected error occurred: local variable 'output' referenced before assignment   

However then the Welcome to KoboldCpp message is displayed followed by and error stating that customtkinter isn't there:

  ***                                                                     
  Welcome to KoboldCpp - Version 1.97.4.yr0-ROCm                                   
  For command line arguments, please refer to --help                               
  ***                                                                              
  Warning, GUI failed to start: Reason: No module named 'customtkinter'           
  File selection GUI unsupported.                                                  
  customtkinter python module required!                                            

                                                                                   
   You must use the command line instead, e.g. python ./koboldcpp.py --help 

But I do have customtkinter installed:

  pip install customtkinter                                                      
  Requirement already satisfied: customtkinter in file-path/.local/share/mise/installs/python/3.13.0/lib/python3.13/site-packages (5.2.2)                     
  Requirement already satisfied: darkdetect in file-path/.local/share/mise/installs/python/3.13.0/lib/python3.13/site-packages (from customtkinter) (0.8.0)   
  Requirement already satisfied: packaging in file-path/.local/share/mise/installs/python/3.13.0/lib/python3.13/site-packages (from customtkinter) (24.2) 

I'm not using any venv btw and my default python version is 3.10.18.

hope this helps, please correct me if I'm dumb

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