Update utilities.py

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

View File

@ -340,6 +340,7 @@ def show_yes_no_dialog(title, text):
import sys
print(sys.executable)
import pipmaster as pm
pm.package_manager = sys.executable + " -m pip"
if not pm.is_installed("tk"):
pm.install("tk")
import tkinter as tk