Open figurenine opened 1 month ago
Hi @figurenine Tkinter seems to be installed, I think the error message is erroneous and indicate an issue with another dependency. I see you are using Python 13. I did not check the compatibility of this project with Python 13 for now so it is recommended to use Python 12 that you can download here python.org/downloads/release/python-3127
I have the same problem, i tried with Python 3.12.7. I confirmed Tinker is installed.
Can you try this change in configure.py
?
Please replace these lines:
https://github.com/mathoudebine/turing-smart-screen-python/blob/4ca1f5ffe49dc3deafee210498294749f95d19ec/configure.py#L36-L46
by:
import tkinter.ttk as ttk
from tkinter import *
from PIL import ImageTk
(be careful there is one blank space at the beginning of each line) It should display a different error message that you can then post here
Now it actually loads the configure window (didn't previously).
Windows is saying (to my understanding) that the files are untrusted. I unblocked most of the libre-files, and it continue but nothing shows in the screen.
C:\Users\Administrator\Documents\turing-smart-screen-python-3.5.0>15.11.2024 14.16.44 [INFO] Loading theme 5inchTheme2Radial from res/themes/5inchTheme2Radial/theme.yaml 15.11.2024 14.16.44 [DEBUG] HW revision: C 15.11.2024 14.16.44 [DEBUG] Static COM port: COM3 System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\turing-smart-screen-python-3.5.0\main.py", line 64, in
E: woop,woop,wooooop... Got it working, i used wrong display lol. Tried the default one but my monitor wouldnt support it.
Tkinter appears to be installed correctly, but I can't run
python.exe .\configure.py