Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load cask: libomp.rb #4181

Open
LeonTing1010 opened this issue May 8, 2024 · 2 comments
Open

Failed to load cask: libomp.rb #4181

LeonTing1010 opened this issue May 8, 2024 · 2 comments
Labels
bug: unconfirmed Something might not be working Needs Triage Issue requires Triage OS: Mac Impacting MacOS
Milestone

Comments

@LeonTing1010
Copy link

$ brew install libomp.rb
Error: Failed to load cask: libomp.rb
Cask 'libomp' is unreadable: wrong constant name #Class:0x00000001150a5b48
Warning: Treating libomp.rb as a formula.
==> Fetching libomp
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/libomp-11.1.0.big_sur.bottle.tar.gz
curl: (22) The requested URL returned error: 404

Warning: Bottle missing, falling back to the default domain...
==> Downloading https://ghcr.io/v2/homebrew/core/libomp/manifests/11.1.0
Already downloaded: /Users/leo/Library/Caches/Homebrew/downloads/d07c72aee9e97441cb0e3a5ea764f8acae989318597336359b6e111c3f4c44b1--libomp-11.1.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libomp/blobs/sha256:ec279162f0062c675ea96251801a99c19c3b82f395f1598ae2f31cd4cbd9a963
############################################################################################################################################################################## 100.0%
Warning: libomp 18.1.5 is available and more recent than version 11.1.0.
==> Pouring libomp--11.1.0.big_sur.bottle.tar.gz
🍺 /usr/local/Cellar/libomp/11.1.0: 9 files, 1.4MB
==> Running brew cleanup libomp...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
Removing: /Users/leo/Library/Caches/Homebrew/libomp--11.1.0... (467.3KB)

@LeonTing1010 LeonTing1010 added bug: unconfirmed Something might not be working Needs Triage Issue requires Triage labels May 8, 2024
@Innixma Innixma added the OS: Mac Impacting MacOS label May 8, 2024
@Innixma Innixma added this to the 1.2 Release milestone May 8, 2024
@Innixma
Copy link
Contributor

Innixma commented May 8, 2024

try this:

# Uninstall libomp if it was previous installed
brew uninstall -f libomp
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
brew install libomp.rb
rm libomp.rb

It is detailed in our install page for MacOS: https://auto.gluon.ai/stable/install.html

@Innixma
Copy link
Contributor

Innixma commented May 8, 2024

Also, please provide details on system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: unconfirmed Something might not be working Needs Triage Issue requires Triage OS: Mac Impacting MacOS
Projects
None yet
Development

No branches or pull requests

2 participants