3
Using Ubuntu 16.04, I installed virtualenv and created a virtual environment.
In this virtual environment I installed Cython using:
pip install cython==0.23
I’ll have Kivy installed:
pip install kivy
Only it returns a lot of errors, among them:
/tmp/pip-build-RTmWI8/kivy/kivy/graphics/opengl.c:4:20: fatal error: Python.h: Arquivo ou diretório não encontrado
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Command "/home/usuario/testeKivy/teste1/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-RTmWI8/kivy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ZZtk3g-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/usuario/testeKivy/teste1/include/site/python2.7/kivy" failed with error code 1 in /tmp/pip-build-RTmWI8/
Which dependencies are missing?
But this solves the problem of dependencies in the virtual environment?
– L. WD
I did it and still have problems to use kivy in the virtual environment. Any more ideas/suggestions?
– L. WD