rdbende / Sun-Valley-ttk-theme

A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style ✨
https://pypi.org/project/sv-ttk
MIT License
1.89k stars 111 forks source link

Pyinstaller Error #58

Closed rohankishore closed 1 year ago

rohankishore commented 1 year ago

Getting the error "ModuleNotFoundError: No module named 'sv_ttk'" when trying to open the exe file...

btw, this's my pyinstaller command: ''' pyinstaller --onefile -w .\scratch_3.py --hidden-import wikipedia --collect-data sv_ttk '''

rdbende commented 1 year ago

And are you sure, sv_ttk is installed, and Pyinstaller can access it? (So for example if you installed it in a virtual environment, Pyinstaller won't be able to collect it, if it's not in the same venv)

mscholze commented 1 year ago

Same here. Installed with pip install sv-ttk on MacOS Ventura and get ModuleNotFoundError: No module named 'sv_ttk' when running the python file.

mscholze commented 1 year ago

Okay I figured out that my python installation was broken after upgrading to macos ventura. Had to reinstall python3 via homebrew and reinstalled the module via pip3 install sv-ttk. After that everything works as expected.

rohankishore commented 1 year ago

Great!! But just dont use Notebook tabs with this theme... Its too slow to load and switch between tabs even though I'm using a fairly good PC with Ryzen 7 5800H and 16gb ram