django-adminlte icon indicating copy to clipboard operation
django-adminlte copied to clipboard

sh: mysql_config: command not found

Open sailsheep opened this issue 8 years ago • 2 comments

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

sailsheep avatar Mar 21 '17 10:03 sailsheep

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

lyhapple avatar Mar 21 '17 13:03 lyhapple

我也是这样,linux环境下

code-cookie avatar Dec 27 '17 06:12 code-cookie