It seems mysql_config is missing on your system or the installer could not find it. Be sure mysql_config is really installed.
For example on Debian/Ubuntu you must install the package:
sudo apt-get install libmysqlclient-dev
Maybe the mysql_config is not in your path, it will be the case when you compile by yourself the mysql suite.
Update: For recent versions of debian/ubuntu (as of 2018) it is
sudo apt install default-libmysqlclient-dev
Related Posts:
- pip install mysql-python fails with EnvironmentError: mysql_config not found
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- How do I install a Python package with a .whl file?
- pip/python: normal site-packages is not writeable
- How do I install a Python package with a .whl file?
- python3 command not found after installing python with pyenv
- “ssl module in Python is not available”
- How to uninstall mini conda? python
- Visual C++ for python failed with exit status 2 when installing divisi2
- PIP (Python) : ImportError: cannot import name _remove_dead_weakref
- How do I update\upgrade pip itself from inside my virtual environment?
- How to install pip with Python 3?
- How to update/upgrade a package using pip?
- How do I update\upgrade pip itself from inside my virtual environment?
- bash: pip: command not found
- bash: pip: command not found
- How to uninstall a package installed with pip install –user
- How can I install packages using pip according to the requirements.txt file from a local directory?
- ImportError: No module named pip
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- How do I install pip on macOS or OS X?
- Pip freeze vs. pip list
- How can I install pip on Windows?
- ImportError: No module named tensorflow
- Where is BeautifulSoup4 hiding?
- IndexError: tuple index out of range —– Python
- Where does pip install its packages?
- How to install python3 version of package via pip on Ubuntu?
- “Defaulting to user installation because normal site-packages is not writeable” python message
- Could not find a version that satisfies the requirement tensorflow
- How to install pytorch in Anaconda with conda or pip?
- “ssl module in Python is not available” when installing package with pip3
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- Configuring so that pip install can work from github
- pip or pip3 to install packages for Python 3?
- Bash: Python3: command not found (Windows, discord.py)
- Error after upgrading pip: cannot import name ‘main’
- filename.whl is not supported wheel on this platform
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- Permission denied error by installing matplotlib
- ImportError: cannot import name main when running pip –version command in windows7 32 bit
- filename.whl is not a supported wheel on this platform
- E: unable to locate package pip
- bash: pip: command not found
- How to install pip3 on Windows?
- “ImportError: no module named ‘requests'” after installing with pip
- ModuleNotFoundError: No module named ‘matplotlib’
- Install mysql-python (Windows)
- How to install PIP on Python 3.6?
- How can I install Python’s pip3 on my Mac?
- Could not find a version that satisfies the requirement
- No module named pkg_resources
- What is the purpose of “pip install –user …”?
- How to upgrade all Python packages with pip
- How do I remove all packages installed by PIP?
- What is the easiest way to remove all packages installed by pip?
- ‘pip3’ is not recognized as an internal or external command, operable program or batch file
- How to install multiple python packages at once using pip
- ModuleNotFoundError: No module named ‘MySQLdb’
- Checking whether pip is installed?
- AttributeError: Module Pip has no attribute ‘main’
- pg_config executable not found
- Is it safe to delete ~/.cache/pip directory
- ‘Pip’ is Not Recognized as an Internal or External Command windows 10 CMD
- mysql_config not found when installing mysqldb python interface
- can’t remove python pip
- upgade python version using pip
- ‘pip install’ fails for every package (“Could not find a version that satisfies the requirement”) [duplicate]
- How to install requests module in Python 3.4, instead of 2.7
- python pip on Windows – command ‘cl.exe’ failed
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- pip: no module named _internal
- How to run Pip commands from CMD
- How to install PyGame on Python 3.4?
- Django Rest Framework — no module named rest_framework
- TensorFlow not found using pip
- python NameError: name ‘file’ is not defined
- How to install Python MySQLdb module using pip?
- boto3 python 2.7 ImportError: No module named boto3 USER_BASE USER_SITE site packages doesn’t exist
- pip3 error – ‘_NamespacePath’ object has no attribute ‘sort’
- ImportError: No module named Crypto.Cipher
- How to Install pip for python 3.7 on Ubuntu 18?
- Python can’t find module NLTK
- How to change pip installation path
- ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
- How to install pip for Python 3 on Mac OS X?
- How to install Openpyxl with pip
- Failed building wheel for Twisted in Windows 10 python 3
- Install py2exe for python 2.7 over pip: this package requires Python 3.3 or later
- Installing MySQL-python causes command ‘clang’ failed with exit status 1 on Mac OS 10.13.15
- How to resolve “ImportError: DLL load failed:” on Python?
- Install pip for python 3.5
- Python MySQLdb not importing
- How to install PyQt4 on Windows using pip?
- How do I install pip on macOS or OS X?
- How to install PyQt4 on Windows using pip?
- Pip: could not find a version. No matching distribution found
- TensorfloTensorflow installation error: not a supported wheel on this platformw installation error: not a supported wheel on this platform
- File “/usr/bin/pip”, line 9, in
from pip import main ImportError: cannot import name main - How do I list the files associated with a Python package installed using pip or easy_install?