0

我使用 pip install mysql-python 它告诉我

回溯(最近一次通话最后):

  File "<string>", line 20, in <module>

  File "/tmp/pip-build-r4ybCJ/mysql-python/setup.py", line 17, in <module>

    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

我在谷歌上搜索了很多方式说需要 pip install libmysqlclient-dev 或 python-dev 我尝试了它们但仍然不起作用希望任何人都可以帮助我!

4

0 回答 0