From d054e1dd3ed11ee45354a18e7ad99d6543bff484 Mon Sep 17 00:00:00 2001 From: "Jeison Yehuda Amihud (Blender Dumbass)" Date: Mon, 17 May 2021 13:59:31 +0000 Subject: [PATCH] AUTOFIX for MacOS? --- troubleshooter/fix.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/troubleshooter/fix.py b/troubleshooter/fix.py index f748af3..e160558 100644 --- a/troubleshooter/fix.py +++ b/troubleshooter/fix.py @@ -73,7 +73,7 @@ def autofix(Modules): print("\033[1;43m") print("Executing:", command , "\033[1;m") os.system(command) - + print("\033[1;43m") command = "python3 -m pip install pycairo" print("Executing:", command , "\033[1;m") @@ -84,7 +84,12 @@ def autofix(Modules): print("Executing:", command , "\033[1;m") os.system(command) + elif ostype == "Darwin": # MacOS + print("\033[1;43m") + command = "brew install pygobject3 gtk+3" + print("Executing:", command , "\033[1;m") + os.system(command) else: # If it's not linux.