V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
africle
V2EX  ›  Mac Pro

mac 使用 brew 安装时,报错

  •  
  •   africle · Jun 26, 2018 · 21251 views
    This topic created in 2873 days ago, the information mentioned may be changed or developed.

    $ 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 安装时,出现这个提示,这是怎么会回事啊?求助,谢谢!!

    9 replies    2021-03-17 22:46:46 +08:00
    ywcjxf1515
        1
    ywcjxf1515  
       Jun 26, 2018
    没有这个包。。。
    要用 pip2 安装吧 https://pypi.org/project/MySQL-python/1.2.5/
    ywcjxf1515
        3
    ywcjxf1515  
       Jun 26, 2018
    百度搜(不要吐槽) mysql-python,有个 5 月 31 日的网页( cnblog )
    cctrv
        4
    cctrv  
       Jun 26, 2018 via iPhone
    pip uninstall MySQL-python
    brew install mysql
    pip install MySQL-python
    Parallel
        5
    Parallel  
       Jun 26, 2018
    $ brew search mysql-python
    ==> Searching local taps...
    ==> Searching taps on GitHub...
    homebrew/cask/mysql-connector-python
    ==> Searching blacklisted, migrated and deleted formulae...
    ywcjxf1515
        6
    ywcjxf1515  
       Jun 26, 2018
    https://stackoverflow.com/questions/17599830/installing-mysql-python-on-mac
    作为一个小白 还是不插手了吧 和上面的结论类似
    xiaket
        7
    xiaket  
       Jun 27, 2018
    建议回去看下提问的智慧.
    FurN1
        8
    FurN1  
       Jun 28, 2018
    Do "brew search" before installing
    winkerwinker
        9
    winkerwinker  
       Mar 17, 2021   ❤️ 3
    执行
    rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
    brew update
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4642 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 10:05 · PVG 18:05 · LAX 03:05 · JFK 06:05
    ♥ Do have faith in what you're doing.