Open Steff-san opened 4 years ago
I think you're new to Github. It's considered bad practice to have an uninformative title and issue. We need a bit more info from you. What OS are you using, and what were you trying to do?
I think you're new to Github. It's considered bad practice to have an uninformative title and issue. We need a bit more info from you. What OS are you using, and what were you trying to do?
he is using linux and was trying download the repo requirements
I have the same problem on Windows. I also tried to install pycairo individually from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo but for every single wheel, it's saying that: pycairo-1.19.1-cp38-cp38-win_amd64.whl is not a supported wheel on this platform. Can you help me, please?
Tengo el mismo problema en Windows. También intenté instalar pycairo individualmente desde https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo pero para cada rueda, dice que: pycairo-1.19.1-cp38-cp38-win_amd64.whl No es una rueda compatible en esta plataforma. ¿Puedes ayudarme por favor?
a mi tambien me paso lo mismo, lograste solucionar tu problema?
I have the same problem on Windows. I also tried to install pycairo individually from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo but for every single wheel, it's saying that: pycairo-1.19.1-cp38-cp38-win_amd64.whl is not a supported wheel on this platform. Can you help me, please?
solution: platform : windows 10 firstly, check pip type.
pip debug --verbose
next, select the corresponding version from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo . and goto manim-master fold by cmd
pip install c\adminisrator(manim-master fold address)\pycairo-1.19.1-cp38-cp38-win_amd64.whl
this problem will be solved.
On my ubuntu18.04, i tried sudo apt install python<your python version>-dev
and fixed it.
I tried to install manin for linux but i get this error: Building wheels for collected packages: pycairo Building wheel for pycairo (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-95eiqbht/pycairo/setup.py'"'"'; file='"'"'/tmp/pip-install-95eiqbht/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vgeh7_q5 cwd: /tmp/pip-install-95eiqbht/pycairo/ Complete output (17 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/cairo copying cairo/init.py -> build/lib.linux-x86_64-3.7/cairo running build_ext building 'cairo._cairo' extension creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/cairo x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=16 -DPYCAIRO_VERSION_MICRO=1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/python3.7m -c cairo/device.c -o build/temp.linux-x86_64-3.7/cairo/device.o cairo/device.c:30:10: fatal error: Python.h: No existe el archivo o el directorio
include
compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Failed building wheel for pycairo Running setup.py clean for pycairo Failed to build pycairo Installing collected packages: pycairo Attempting uninstall: pycairo Found existing installation: pycairo 1.16.2 ERROR: Cannot uninstall 'pycairo'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Note: In windous i have got a similar errror.