How do I install on MacOS running both the included version of Python and 3.2.2?

Asked by Devon Campbell on 2012-01-30

I've run the setup program, and it appears to have installed in the version of Python included with MacOS (2.5.2). I have verified this by importing mysql.connector via console. However, it was not installed in Python 3.2.2. How can I install the connector in both versions of Python?

Question information

Language:
English Edit question
Status:
Solved
For:
MySQL Connector/Python Edit question
Assignee:
Geert JM Vanderkelen Edit question
Solved by:
Devon Campbell
Solved:
2012-01-31
Last query:
2012-01-31
Last reply:
2012-01-31

If you want to install MySQL Connector/Python for Python v3, simply run the setup.py using the correct executable:

 shell> /path/to/python3/bin/python3 setup.py install

Devon Campbell (raddevon) said : #2

How silly of me! Thank you.