Я спробував це і це, і це, і це
Ніхто з цих не встановлює python-dev, я отримав свою систему amd64, 14.04 і працює, коли я намагаюся встановити кегль, django cms, я отримую помилку:
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
Як я можу це виправити та встановити пакет?
Це через відсутність Python.h
заголовка c, який входить до python-dev
пакету.
Коли я спробував вищезазначені посилання, він говорить:
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
для 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
Я досліджував архіви debian і знайшов пакет для, python 2.7.8-1
але його неможливо було встановити.
Спробував це і на стартовій панелі, але це не працює.