Open lucyliu2016 opened 5 years ago
This looks like the same problem from #353.
Installing cairo on windows is a pain in the ... Try this:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo install it. all thing will be done.
How do you do this? I'm on windows 10 and python 2.7 and it says pycairo-1.18.0-cp37-cp37m-win32.whl is not a supported wheel on this platform.
Also tried with pycairo-1.18.0-cp37-cp37m-win_amd64.whl
Note that manim currently uses Python 3.7. Version 2.7 will not work with this. Once you update to 3.7, use pycairo-1.18.0-cp37-cp37m-win32.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo install it. all thing will be done.
It works. Thanks.
creating build\temp.win32-3.6\Release\cairo C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=18 -DPYCAIRO_VERSION_MICRO=0 "-Id:\program files (x86)\python36-32\include" "-Id:\program files (x86)\python36-32\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tccairo/device.c /Fobuild\temp.win32-3.6\Release\cairo/device.obj device.c c:\users\w1381\appdata\local\temp\pip-install-cbmw3xgl\pycairo\cairo\pycairo.h(37): fatal error C1083: 无法打开包括文件: “cairo.h”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe' failed with exit status 2
Failed building wheel for pycairo