Skip to content
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

sh: mysql_config: command not found #30

Open
sailsheep opened this issue Mar 21, 2017 · 2 comments
Open

sh: mysql_config: command not found #30

sailsheep opened this issue Mar 21, 2017 · 2 comments

Comments

@sailsheep
Copy link

pip install -r requirement.txt 到安装mysql的时候就会报错
Collecting MySQL-python==1.2.5 (from -r requirement.txt (line 10))
Using cached MySQL-python-1.2.5.zip
Complete output from command python setup.py egg_info:
sh: mysql_config: command not found
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/xx/ftb5d3rd7zsg620wkdydhq180000gn/T/pip-build-lao0vC/MySQL-python/setup.py", line 17, in
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found

@lyhapple
Copy link
Owner

你用的什么环境, 不是osx 或 linux吗?

@code-cookie
Copy link

我也是这样,linux环境下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants