A community-maintained Python framework for creating mathematical animations.
Fixes #91
Aathish Sivasubrahmanian42a80af638ab
diff --git a/Scripts/pycairoInstall.py b/Scripts/pycairoInstall.pyindex 44e7eed65..4831a6050 100644--- a/Scripts/pycairoInstall.py+++ b/Scripts/pycairoInstall.py@@ -17,7 +17,7 @@ if 'Windows' in platform.system():print("Installing Cairo")os.system("pip install pycairo-1.19.1-cp36-cp36m-win_amd64.whl")os.remove("pycairo-1.19.1-cp36-cp36m-win_amd64.whl")-+#In case the python version is 3.7 and the system is 32-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairoelif sys.version[:3]=='3.7' and platform.machine()=='x86':urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp37-cp37m-win32.whl", "pycairo-1.19.1-cp37-cp37m-win32.whl")@@ -33,7 +33,7 @@ if 'Windows' in platform.system():print("Installing Cairo")os.system("pip install pycairo-1.19.1-cp37-cp37m-win_amd64.whl")os.remove("pycairo-1.19.1-cp37-cp37m-win_amd64.whl")-+#In case the python version is 3.8 and the system is 32-bit, try pycairo-1.19.1-cp38-cp38-win32.whl version of cairoelif sys.version[:3]=='3.8' and platform.machine()=='x86':urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp38-cp38-win32.whl", "pycairo-1.19.1-cp38-cp38-win32.whl")@@ -41,11 +41,11 @@ if 'Windows' in platform.system():print("Installing Cairo")os.system("pip install pycairo-1.19.1-cp38-cp38-win32.whl")os.remove("pycairo-1.19.1-cp38-cp38-win32.whl")-+#In case the python version is 3.8 and the system is AMD64, try pycairo-1.19.1-cp38-cp38-win_amd64.whl version of cairoelif sys.version[:3]=='3.8' and platform.machine()=='AMD64':urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp38-cp38-win_amd64.whl", "pycairo-1.19.1-cp38-cp38-win_amd64.whl")print("Sucessfully downloaded Cairo for your system")print("Installing Cairo")os.system("pip install pycairo-1.19.1-cp38-cp38-win_amd64.whl")- os.remove("pycairo-1.19.1-cp38-cp38-win_amd64.whl")+ os.remove("pycairo-1.19.1-cp38-cp38-win_amd64.whl")