From 2f3fc9510ca85297540bc1d84b926ccd56ed2653 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Tue, 1 Jun 2021 14:34:24 +0300 Subject: [PATCH] 1 --- LauncherInstaller/Install-KOTIKOT_launcher.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/LauncherInstaller/Install-KOTIKOT_launcher.py b/LauncherInstaller/Install-KOTIKOT_launcher.py index 6eec73c..c183a9d 100644 --- a/LauncherInstaller/Install-KOTIKOT_launcher.py +++ b/LauncherInstaller/Install-KOTIKOT_launcher.py @@ -9,4 +9,7 @@ if not os.path.exists(kkapps): launcherurl = 'https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/KOTIKOT_launcher.py' urllib.request.urlretrieve(launcherurl, kkapps + "/KOTIKOT_launcher.py") -subprocess.check_call([sys.executable, "-m", "pip install PyQt5"]) \ No newline at end of file +try: + import PyQt5 +except: + subprocess.check_call([sys.executable, "-m", "pip", "install", 'PyQt5']) \ No newline at end of file