He intentado esto y esto y esto y esto
Ninguno de esos instalan python-dev, obtuve mi sistema amd64, 14.04 en funcionamiento, mientras trato de instalar wagtail, un django cms, obtengo el error:
pysass.c:4:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/
libsass/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace
('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ojWg1O-record/install-
record.txt --single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_root/libsass
Storing debug log for failure in /home/payload/.pip/pip.log
¿Cómo puedo solucionar esto e instalar el paquete?
Se debe a la falta de Python.h
encabezado c que se incluye en el python-dev
paquete.
Cuando probé los enlaces anteriores, dice:
apt-get install python-dev
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python
E: Package 'python-dev' has no installation candidate
para apt-get install python2.7-dev
Package python2.7-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python2.7-dev' has no installation candidate
Investigué sobre los archivos de Debian y encontré un paquete para python 2.7.8-1
pero que no se pudo instalar.
Intenté esto también en el launchpad pero no funciona.