when trying to install flask-mysql i get the following error msg:
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/2n/pv5q13p10dz6rg8qlh3vhxv00000gn/T/pip-build-bh92ufyu/MySQL-python
The pip install unroll error is raised possibly as your setuptools are not installed. For proper installation, you can follow the installation instructions from the PyPI website. But first, check out the version of Python which you are running.
Follow the below steps to install the Setuptools package on Linux using the setup.py file: Step 1: Download the latest source package of Setuptools for Python3 from the website. Step 3: Go to the setuptools-60.5. 0 folder and enter the following command to install the package.
I met the same problem when install matplotlib
and following command workd:
pip install --upgrade setuptools
pip install ez_setup
Ref here
Worked for me:
easy_install distribute
pip install --upgrade distribute
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With