Install mysqldb (pip3 install Flask-MySQLdb)error: EnvironmentError: mysql_config not found ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Or error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
Solution:
Refer to the answer on Github (https://github.com/scrapy/scrapy/issues/2115#issuecomment-231849637), successfully solved.
with Python 3, you’ll need
sudo apt-get install python3 python-dev python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python3-pip
with Python 2, you’ll need
sudo apt-get install python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip
Similar Posts:
- Python compiles and installs under Linux and reports an error: makefile: 1141: install
- Python Installation WARNING: pip is configured with locations that require TLS/SSL, however the ssl module…
- Python Via get-pip.py Install pip Error: zipimport.ZipImportError: can‘t decompress data; zlib not availabl
- Mac: Python Install lxml Error: Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed
- Ubuntu failed to install libssl dev (depending on aptitude to manage degraded software) and recorded the list of installed software in dpkg
- [Solved] Centos6: Python 2.6 upgrade to 3.7, error handling [no module named ‘_ctypes’]
- Linux Error: _mysql.c:32:20: fatal error: Python.h: No such file or directory [Solved]
- Ubuntu16.04 Install python-ldap error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Anaconda “unable to locate program input point OpenSSL_ sk_ new_ Reserve is used in dynamic link library anaconda3 / library / bin / libssl-1_ On 1-x64.dll & qu
- Error “modulenotfounderror: no module named” in installing flash in Python 3.8_ ctypes’”