MySQL Forums
Forum List  »  Connector/Python

MySQL Connector/Python .dmg installation on osx “succeeds” but I cannot import (or even find!) the module
Posted by: michael slater
Date: April 23, 2014 11:27PM

I downloaded Mysql Connector/Python 1.1.6 .DMG for OSX http://dev.mysql.com/downloads/connector/python/

When I run it, it says "installation successful" but gives no other installation or diagnostics.

But when I try to verify the successful installation http://dev.mysql.com/doc/connector-python/en/connector-python-verification.html

it says cannot find the module


vt102:~ xxxxx$ python

Python 2.7.6 |Anaconda 1.9.2 (x86_64)| (default, Jan 10 2014, 11:23:15)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

>>> import mysql.connector

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named mysql.connector

Options: ReplyQuote


Subject
Written By
Posted
MySQL Connector/Python .dmg installation on osx “succeeds” but I cannot import (or even find!) the module
April 23, 2014 11:27PM


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.