Как я могу установить python-dev с apt-get?

Я пытался этот и этот и этот и этот

Ни один из них не устанавливает 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 но это не удалось установить.

Пытался это на панели запуска тоже, но не работает.

Вы уверены, что делаете это правильно?

Это мой вывод для # apt-get install python2.7-dev

root@olympus:/home/zeus# apt-get install python2.7-devReading package lists... DoneBuilding dependency treeReading state information... DoneThe following extra packages will be installed:  libexpat1-dev libpython2.7-devThe following NEW packages will be installed:  libexpat1-dev libpython2.7-dev python2.7-dev0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.Need to get 22.4 MB of archives.After this operation, 35.0 MB of additional disk space will be used.Do you want to continue? [Y/n]

Попробуйте сделать это от имени root (su)

Кроме того, попробуйте запустить # apt update и убедитесь, что Мультивселенная и вселенная включены (см. Как мне включить репозиторий "Юниверс"?). Я также получил задние порты включен в моей системе, не уверен, имеет ли это значение в данном случае.