Running pip install mysql-python
gives "python setup.py egg_info" failed with error code 1 issue
Tried pip install -U setuptools
to update the setuptools to the latest version, which gets 'Requirement already up-to-date: setuptools in ./2.7/lib/python2.7/site-packages'.
Also tried python -m pip install --upgrade setuptools
which should be the same function as above.
Also tried to run brew install mysql-connector-c
and then run pip install mysql-python
, but still not working.
ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/_0/9_462vd15jgg2s365ldbgt440000gn/T/pip-install-_gamvb3n/mysql-python/
I do not think you can install mysql-python
with pip...
Try to download the connector from here and install it: https://dev.mysql.com/downloads/connector/python/
You may also need to install Microsoft Visual C++ 14.0 (but I'm not 100% sure of that)
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