Re: Urgent Problem import mysql.connector
Open the console of Sublime Text using Ctrl-~
import sys
sys.version
That will show you the Python version Sublime is using.
On Mac, Sublime Text 2 is using Python 2.6, though OS X uses Python 2.7.
(Side note: Sublime Text 3 uses Python 3.3 apparently).
So you have to install MySQL Connector/Python using the correct Python
binary.
-Geert
Geert Vanderkelen
Software Developer at Oracle
Subject
Written By
Posted
Re: Urgent Problem import mysql.connector
March 12, 2013 06:26AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.