python can't install mysql library -


i want connect mysql database python

i tried this: pip install mysql-python question suggested no module named mysqldb

but got exception

cleaning up... command c:\python27\python.exe -c "import setuptools, tokenize;__file__='c:\\use rs\\user\\appdata\\local\\temp\\pip_build_user\\mysql-python\\setup.py';exec(com pile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __f ile__, 'exec'))" install --record c:\users\user\appdata\local\temp\pip-kkagjy-re cord\install-record.txt --single-version-externally-managed --compile failed wit h error code 1 in c:\users\user\appdata\local\temp\pip_build_user\mysql-python storing debug log failure in c:\users\user\pip\pip.log 

in python code, keep getting error

no module named mysqldb 

i using windows 7

i found solution myself

http://www.codegood.com/archives/129

download , enough


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -