I did not intend for users to be installing Ollama GUI directly from the git repo. You will have problems, and it will leave the installation in an incomplete state.I installed with the git repo method, fails to execute then:Code:
pi@raspberrypi5:~/pi-apps $ /opt/ollama-gui/ollama-gui-runner.sh shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directoryerror reading package index file /usr/share/tcltk/ttkthemes/gif/pkgIndex.tcl: error getting working directory name: no such file or directoryerror reading package index file /usr/share/tcltk/ttkthemes/themes/pkgIndex.tcl: error getting working directory name: no such file or directoryerror reading package index file /usr/share/tcltk/ttkthemes/png/pkgIndex.tcl: error getting working directory name: no such file or directoryTraceback (most recent call last): File "/opt/ollama-gui/ollama_gui.py", line 680, in <module> run() File "/opt/ollama-gui/ollama_gui.py", line 655, in run ttk.Style().theme_use('breeze') File "/usr/lib/python3.11/tkinter/ttk.py", line 500, in theme_use self.tk.call("ttk::setTheme", themename)_tkinter.TclError: can't find package ttk::theme::breezepi@raspberrypi5:~/pi-apps $
If you installed from Pi-Apps, it would have installed the python3-ttkthemes package. You could try installing that and then running the python script again, but more than likely there will just be a new error.
The install script on Pi-Apps does a lot more than just clone the repo and move it to /opt. See for yourself:
https://github.com/Botspot/pi-apps/blob ... install-64
Statistics: Posted by Botspot — Fri Jan 31, 2025 8:41 pm