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

Asked by Devon Campbell

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:
Last query:
Last reply:
Revision history for this message
Geert JM Vanderkelen (geertjmvdk) said :
#1

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

Revision history for this message
Devon Campbell (raddevon) said :
#2

How silly of me! Thank you.