Update utilities.py

This commit is contained in:
Saifeddine ALOUI 2024-10-08 11:35:22 +02:00 committed by GitHub
parent 05bc17ff9b
commit d66801e291
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,6 +337,8 @@ def show_custom_dialog(title, text, options):
def show_yes_no_dialog(title, text):
try:
import sys
print(sys.executable)
import pipmaster as pm
if not pm.is_installed("tk"):
pm.install("tk")