我的mac电脑里已经安装了MAMP。 所以MAMP中的mysql运行得很好。 但是当我尝试安装mysqldb时,我得到以下错误
Traceback (most recent call last):
File "setup.py", line 15, in <module>
metadata, options = get_config()
File "/Users/mohitdeepsingh/Downloads/MySQL-python-1.2.3/setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "/Users/mohitdeepsingh/Downloads/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
我该如何解决这个问题。 大多数建议是安装mysql等 但mysql已经不在了。 我需要更改某种配置文件吗?如果有人能指出我应该修改哪个配置文件
目前没有回答
相关问题 更多 >
编程相关推荐