cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: python mysql issue (macos)
Date Mon, 05 Nov 2012 22:15:25 GMT
You may need to install this:
http://dev.mysql.com/doc/connector-python/en/connector-python-installation-src-unix.html

> -----Original Message-----
> From: Charles Moulliard [mailto:ch007m@gmail.com]
> Sent: Monday, November 05, 2012 2:02 PM
> To: cloudstack-dev
> Subject: python mysql issue (macos)
> 
> Hi,
> 
> I have installed mysql-python on MAcOS but still get this error :
> 
> sudo easy_install mysql-python
> 
> Downloading
> http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-
> 1.2.4c1.zip#md5=a05925412cd824104da064db6a889613
> Processing MySQL-python-1.2.4c1.zip
> Running MySQL-python-1.2.4c1/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-aCLocW/MySQL-python-1.2.4c1/egg-dist-tmp-WeCNi1
> ...
> Finished processing dependencies for mysql-python
> 
> mvn -P developer,deploysvr -pl tools/devcloud -Ddeploysvr [INFO] Scanning
> for projects...
> [INFO]
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-
> devcloud --- [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor
> (attach-descriptor) @ cloud-devcloud --- [INFO] [INFO] --- exec-maven-
> plugin:1.2.1:exec (default) @ cloud-devcloud --- Traceback (most recent call
> last):
>   File "../marvin/marvin/deployDataCenter.py", line 21, in <module>
>     import cloudstackTestClient
>   File
> "/Users/chmoulli/Apache/incubator-
> cloudstack/tools/marvin/marvin/cloudstackTestClient.py",
> line 20, in <module>
>     import dbConnection
>   File
> "/Users/chmoulli/Apache/incubator-
> cloudstack/tools/marvin/marvin/dbConnection.py",
> line 18, in <module>
>     import mysql
> ImportError: No module named mysql
> 
> Regards,
> 
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : @cmoulliard |
> Blog : http://cmoulliard.blogspot.com

Mime
View raw message