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.
Could you please, provide more detailed steps for Windows?
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.
hello,
my params: windows 7 32b, python v.3.2
when iam trying to setup it, iam getting:
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,
version_tuple = import('pymysql').VERSION
in <module> from constants import FIELD_TYPE
from constants import FIELD_TYPE
Very very thank you
ps. google do not know about this problem anymore :)
Could you please, provide more detailed steps for Windows?
I imagine the procedure is the same for each platform. I run Python 3.1, I installed it by simply typing:
I used the --user parameter to avoid needing admin privileges.
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): 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 :)