MySQL Connector/Python .dmg installation on osx "succeeds" but I cannot find the module -
I have MySQL Connector / Python 1.1.6. Downloaded DMG for OSX
When I run it, it says "Installation is successful" but no other installation or diagnostics is given.
But when I try to confirm the successful establishment
It says that the module can not be found
vt102: ~ xxxxx $ Python Python 2.7.6 | Anaconda 1.9.2 (x86_64). (Default, January 10, 2014, 11:23:15) [GCC 4.0.1 (Built 5594). Type "Help", "Credit", or "License" for more information on Darwin "& Gt; & Gt; & Gt; Import mysql.connector traceback (most recent call final): File "& lt; stdin>", line 1, & lt; Module & gt; ImportError: There is no module named mysql.connector So far everything is working smoothly, but this mysql / python stuff is a nightmare. any advice?
// UPDATE
I have found install.log from the installation and searched for clues, but I do not see anything useful or suspicious
Apr 24 08:45:02 vt102.local installer [8474]: Written MySQL database driver written in Python installation logs April 24 08:45:02 vt102.local installer [8474]: opened with: / volume / mysql -connector-python -1.1.6 / MySQL-Connector-Python -1.1.6. Pkg 24 Apr 08:45:02 vt102.local installer [8474]: fileURLForURL = x-disk: //mysql-connector-python-1.1.6 / mysql -connector-python-1.1.6.pkg April 24 08:45:02 vt102.local installer [8] 474]: fileURLForURL = File: //localhost/Volumes/mysql-connector-python-1.1.6/mysql-connectant-Python- 1.1.6.pkg April 24 08:45:46 vt102.local installer [8474]: Upgrade : "MySQL database driver written in pure Python" 24 Apr 08:45:46 vt102.local installer [8474]: mysql-connector-dragon.1.1.6.pkg: com.oracle.mysql.connector.python: 1.1. 6.1.1 Apr 24 08:45:46 vt102.local installer [8474]: - [IFDInstallController (Personal) _buildInstallP lan]: file: //localhost/volumes/mysql-connector-python-1.1.6/mysql-connector- python-1.1.6.pkg "PK world package & lt; File: // localhost / section / mysql-connector-python-1.1.6 / mysql-connector-python -1.1.6. Pkg & gt; April 24 08:45:46 vt102.local Installd [413]: PackageKit: package identifier will be obsolete on the basis of com.oracle.mysql.connector.python (prefix path =) receipt on April 24 08:45:46 vt102.local Installd [413]: PackageKit: Removing file: //localhost/Volumes/mysql-connector-python-1.1.6/mysql-connector-python-1.1.6.pkg (destination = / var / folders / Zzx / zyxvpxvq6csfxvn_n0000000000000 / C /PKInstallSandboxManager/0992398D-F177-487C-8A6F-7A43E760ED1B.activeSandbox/Root, uid = 0) April 24 08:45:47 vt102.local Installd [413]: PackageKit: com.oracle.mysql. Installing receipt writing for connector.python "MySQL database driver writes in pure Python" ()
Comments
Post a Comment