Я пытался этот и этот и этот и этот
Ни один из них не устанавливает python-dev, у меня установлена и запущена моя система amd64, 14.04, когда я пытаюсь установить wagtail, cms django, я получаю сообщение об ошибке:
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, oris only available from another sourceHowever the following packages replace it: pythonE: 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, oris only available from another sourceE: Package 'python2.7-dev' has no installation candidateЯ исследовал вопрос о архивы debian и нашел посылку для python 2.7.8-1 но это не удалось установить.
Пытался это на панели запуска тоже, но не работает.