반응형
Looks like you haven't properly installed the header files and static libraries for python dev.
Use your package manager to install them system-wide.
For apt (Ubuntu, Debian...):
sudo apt-get install python-dev # for python2.x installs
sudo apt-get install python3-dev # for python3.x installs
For yum (CentOS, RHEL...):
sudo yum install python-devel # for python2.x installs
sudo yum install python3-devel # for python3.x installs
For dnf (Fedora...):
sudo dnf install python2-devel # for python2.x installs
sudo dnf install python3-devel # for python3.x installs
For zypper (openSUSE...):
sudo zypper in python-devel # for python2.x installs
sudo zypper in python3-devel # for python3.x installs
For apk (Alpine...):
# This is a departure from the normal Alpine naming
# scheme, which uses py2- and py3- prefixes
sudo apk add python2-dev # for python2.x installs
sudo apk add python3-dev # for python3.x installs
For apt-cyg (Cygwin...):
apt-cyg install python-devel # for python2.x installs
apt-cyg install python3-devel # for python3.x installs
반응형
'프로그래밍 언어 > Python3' 카테고리의 다른 글
AWS 아마존 리눅스에 파이썬(Python 3.8) 설치 방법 (0) | 2020.03.28 |
---|---|
Django 이미 있는 DB 테이블을 models 생성하고 싶을때 (0) | 2020.03.15 |
pip install mysqlclient 에러 / 'mysql.h': No such file or directory (0) | 2020.03.03 |
no acceptable C compiler found in $PATH (0) | 2019.09.01 |
Django Python3 한글 파일명 다운로드 방법 (0) | 2019.05.24 |