Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mysql installer fails to recognize python 3.4

Just to add to the murkiness, I had the same error with current version of MySql install when attempting with python 3.5 installed (which is the latest python download). Long story short, I uninstalled python 3.5, installed python 3.4.4 (which interestingly didn't update PATH so I updated it manually) and reran installer and it found the python installation.

So my conclusion is the MySql installer is tied to certain versions of the add-on products which in this case meant specifically python 3.4


just in case anyone else has this issue in future. Look at what bit version you have for Python 3.4. When I installed 64 bit version of Python 3.4, this issue went away.


I ran into a similar issue with Python 3.7.2.

In my case, the problem was that I tried to install the 64 bit MySQL connector, but had the 32 bit version of Python installed on my machine.

I got a similar error message:

Python v3.7 not found. We only support Python installed using the Microsoft Windows Installer (MSI) [...]

The problem just went away by installing the 32 bit MySQL connector instead.


From my experience if you have both Py2.7 and Py3.4 installed when installing the mysql connector for py3.4 you will run into this issue. Not sure of the WHY but for some reason if you have py2.7 installed, the py3.4 mysql connector recognizes that version first and just assumes that you have py2.7 installed and does not recognize that py3.4 is installed.

The only way I have found around this is to uninstall py2.7 and then install the py3.4 mysql connector. You can always install py2.7 again after the fact.


I had 3.6.X version and it could not see it; I uninstalled it and installed 3.4.0 version and it passed the requirement. https://www.python.org/downloads/release/python-340/