-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python2.7 install this module error #141
Comments
Uninstall MySQL, download and install the package through https://dev.mysql.com/downloads/mysql/, fool installation; |
|
if only debug python code on remote , why need install mysql on local?? |
Observed similar errors with pip installation on my OSX environment. Source installation was easier. Steps for source installation -
|
hello, when I use pip install this module, the terminal show this error message, my system is mac and the version of python is 2.7. what can i do to resolve it? thanks for your answer. the error message at bottom.
` Using cached https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/bf/rf_c_9f57b30tn47dv70hxlm0000gn/T/pip-install-dv3Rky/MySQL-python/setup.py", line 17, in
metadata, options = get_config()
File "setup_posix.py", line 53, in get_config
libraries = [ dequote(i[2:]) for i in libs if i.startswith(compiler_flag("l")) ]
File "setup_posix.py", line 8, in dequote
if s[0] in ""'" and s[0] == s[-1]:
IndexError: string index out of range
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/bf/rf_c_9f57b30tn47dv70hxlm0000gn/T/pip-install-dv3Rky/MySQL-python/`
The text was updated successfully, but these errors were encountered: