그 중 어느 것도 python-dev를 설치하지 못했습니다. 내 장신구, 장고 cm를 설치하려고 할 때 amd64 시스템 14.04가 설치되어 실행 중입니다. 오류가 발생합니다.
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
나는에 연구 한 데비안 아카이브 와의 패키지를 발견 python 2.7.8-1
하지만 설치할 수 없습니다.