A community-maintained Python framework for creating mathematical animations.
Spaces in pycairo install [skip ci]
Safin Singhdd32f2bbe2d8
diff --git a/scripts/pycairoinstall.py b/scripts/pycairoinstall.pyindex 3c6ee8a5c..5cd7c8aea 100644--- a/scripts/pycairoinstall.py+++ b/scripts/pycairoinstall.py@@ -4,13 +4,13 @@ import sysimport urllib.requestif 'Windows' in platform.system():- #In case the python version is 3.6 and the system is 32-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairo+ # In case the python version is 3.6 and the system is 32-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairoif sys.version[:3]=='3.6' and platform.machine()=='x86':urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/w3jqiv8s/pycairo-1.19.1-cp36-cp36m-win32.whl", "pycairo-1.19.1-cp36-cp36m-win32.whl")os.system("pip install pycairo-1.19.1-cp36-cp36m-win32.whl")os.remove("pycairo-1.19.1-cp37-cp37m-win32.whl")- #In case the python version is 3.6 and the system is 64-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairo+ # In case the python version is 3.6 and the system is 64-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairoelif sys.version[:3]=='3.6' and platform.machine()=='AMD64':urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/w3jqiv8s/pycairo-1.19.1-cp36-cp36m-win_amd64.whl", "pycairo-1.19.1-cp36-cp36m-win_amd64.whl")print("Sucessfully downloaded Cairo for your system")@@ -18,7 +18,7 @@ if 'Windows' in platform.system():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 cairo+ # 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/w3jqiv8s/pycairo-1.19.1-cp37-cp37m-win32.whl", "pycairo-1.19.1-cp37-cp37m-win32.whl")print("Sucessfully downloaded Cairo for your system")@@ -26,7 +26,7 @@ if 'Windows' in platform.system():os.system("pip install pycairo-1.19.1-cp37-cp37m-win32.whl")os.remove("pycairo-1.19.1-cp37-cp37m-win32.whl")- #In case the python version is 3.7 and the system is AMD64, try pycairo-1.19.1-cp37-cp37m-win_amd64.whl version of cairo+ # In case the python version is 3.7 and the system is AMD64, try pycairo-1.19.1-cp37-cp37m-win_amd64.whl version of cairoelif sys.version[:3]=='3.7' and platform.machine()=='AMD64':urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/w3jqiv8s/pycairo-1.19.1-cp37-cp37m-win_amd64.whl", "pycairo-1.19.1-cp37-cp37m-win_amd64.whl")print("Sucessfully downloaded Cairo for your system")@@ -34,7 +34,7 @@ if 'Windows' in platform.system():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 cairo+ # 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/w3jqiv8s/pycairo-1.19.1-cp38-cp38-win32.whl", "pycairo-1.19.1-cp38-cp38-win32.whl")print("Sucessfully downloaded Cairo for your system")@@ -42,7 +42,7 @@ if 'Windows' in platform.system():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 cairo+ # 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/w3jqiv8s/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")