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
Comments
Post a Comment