My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
Updated Dec 27, 2010 by floydoph...@gmail.com

Installation

If you're on Python 3, you want to install PyMySQL3. Everyone else should just use plain old PyMySQL. You can install it from easy_install/pip, or from a source archive as posted on the Google Code page.

Comment by blurbema...@gmail.com, Jan 6, 2011

Could you please, provide more detailed steps for Windows?

Comment by Jovanovi...@gmail.com, Feb 18, 2011

I imagine the procedure is the same for each platform. I run Python 3.1, I installed it by simply typing:

python setup.py install --user

I used the --user parameter to avoid needing admin privileges.

Comment by netd...@gmail.com, Sep 20, 2011

hello,

my params: windows 7 32b, python v.3.2

when iam trying to setup it, iam getting:


C:\Python32\Lib\site-packages\PyMySQL-0.4>c:\Python32\python.exe setup.py instal l Traceback (most recent call last):
File "setup.py", line 7, in <module>
version_tuple = import('pymysql').VERSION
File "C:\Python32\Lib\site-packages\PyMySQL-0.4\pymysql\init.py", line 28,
in <module>
from constants import FIELD_TYPE
ImportError?: No module named constants
constants momdule including in pymysql directory. Could you please give me a hint how to solve it?

Very very thank you

ps. google do not know about this problem anymore :)


Sign in to add a comment
Powered by Google Project Hosting