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.