File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 3535try :
3636 import tkinter .ttk as ttk
3737 from tkinter import *
38+ except :
39+ print (
40+ "[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed" )
41+ try :
42+ sys .exit (0 )
43+ except :
44+ os ._exit (0 )
3845
46+ try :
3947 import psutil
4048 import ruamel .yaml
4149 import sv_ttk
Original file line number Diff line number Diff line change 2727import subprocess
2828import sys
2929import time
30- import tkinter
30+
31+ try :
32+ import tkinter
33+ except :
34+ print (
35+ "[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed" )
36+ try :
37+ sys .exit (0 )
38+ except :
39+ os ._exit (0 )
3140
3241MIN_PYTHON = (3 , 7 )
3342if sys .version_info < MIN_PYTHON :
You can’t perform that action at this time.
0 commit comments