$ brew install mysql-python
Error: No available formula with the name "mysql-python" ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching for similarly named formulae... ==> Searching local taps... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae found in taps
当用 brew 安装时,出现这个提示,这是怎么会回事啊?求助,谢谢!!
1
ywcjxf1515 2018-06-26 22:28:57 +08:00
没有这个包。。。
要用 pip2 安装吧 https://pypi.org/project/MySQL-python/1.2.5/ |
2
ywcjxf1515 2018-06-26 22:30:44 +08:00
|
3
ywcjxf1515 2018-06-26 22:32:57 +08:00
百度搜(不要吐槽) mysql-python,有个 5 月 31 日的网页( cnblog )
|
4
cctrv 2018-06-26 22:37:42 +08:00 via iPhone
pip uninstall MySQL-python
brew install mysql pip install MySQL-python |
5
Parallel 2018-06-26 22:37:56 +08:00
$ brew search mysql-python
==> Searching local taps... ==> Searching taps on GitHub... homebrew/cask/mysql-connector-python ==> Searching blacklisted, migrated and deleted formulae... |
6
ywcjxf1515 2018-06-26 22:40:00 +08:00
https://stackoverflow.com/questions/17599830/installing-mysql-python-on-mac
作为一个小白 还是不插手了吧 和上面的结论类似 |
7
xiaket 2018-06-27 07:07:07 +08:00
建议回去看下提问的智慧.
|
8
IgniteWhite 2018-06-28 22:26:15 +08:00
Do "brew search" before installing
|
9
winkerwinker 2021-03-17 22:46:46 +08:00 3
执行
rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core brew update |