dependencieshomebrewpangopymol

Brew error "No such file or directory - /usr/local/Cellar/pango/1.46.1" on running "brew install brewsci/bio/pymol"


I am trying to install the open-source version of PyMOL on a mac through the Homebrew package manager as recommended on the official website: https://pymolwiki.org/index.php/MAC_Install#Open-Source_PyMOL.

During the installation process, Homebrew upgrades the pango dependency from 1.46.1 to 1.46.2, removes the old version, and then throws an error while checking for it.

Any ideas where this error is coming from? And how to fix it?

Error: No such file or directory - /usr/local/Cellar/pango/1.46.1


Solution

  • I too received the same error: Error: /usr/local/Cellar/libusbmuxd/HEAD-3eb50a0 is not a directory. I received this error after running: ~ brew update ~ brew outdated

    Simply run: ~ brew install pango
    (Pango is Framework for layout and rendering of i18n text)

    Before running upgrade make sure your Apple Command Line tools are updated as well.

    Then I was able to run: ~ brew upgrade

    and everything updated normally without any error. I did not have to update ruby at all.