I have done huge research and I still cant find way to install the mysql connector for my mac. I tried many solutions from stackoverflow that I found and still can't do it.
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory
It gives me this error when I try to install sudo python setup.py install
I also tried homebrew and cant find any way but after I installed the connector through the website, it said that the installation was successful.
import mysql.connector
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import mysql.connector
ImportError: No module named 'mysql'
I also get the error above.
homebrew,virtualenvandpipinstead of executingsetup.pymannually