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

Cannot install cask on Macbook Pro M2 #1240

Open
Marseel-E opened this issue Nov 30, 2024 · 1 comment
Open

Cannot install cask on Macbook Pro M2 #1240

Marseel-E opened this issue Nov 30, 2024 · 1 comment

Comments

@Marseel-E
Copy link

Description & Error

I'm trying to install the cask using the brew install --cask whisky command, however I'm getting this error.

Error: Cask whisky depends on hardware architecture being one of [{:type=>:arm, :bits=>64}], but you are running {:type=>:intel, :bits=>64}.

Specs & Debug

Command Line Tools for Xcode 16.1

system

marseel@Marseels-MacBook-Pro ~ % uname -a
Darwin Marseels-MacBook-Pro.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112 arm64

marseel@Marseels-MacBook-Pro ~ % system_profiler SPSoftwareDataType SPHardwareDataType
Software:

    System Software Overview:

      System Version: macOS 15.1.1 (24B91)
      Kernel Version: Darwin 24.1.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Marseel’s MacBook Pro
      User Name: Marseel E (marseel)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 32 minutes, 48 seconds

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: Mac14,7
      Model Number: MNEH3LL/A
      Chip: Apple M2
      Total Number of Cores: 8 (4 performance and 4 efficiency)
      Memory: 8 GB
      System Firmware Version: 11881.41.5
      OS Loader Version: 11881.41.5
      Serial Number (system): ...
      Hardware UUID: ...
      Provisioning UDID: ...
      Activation Lock Status: Disabled

brew

marseel@Marseels-MacBook-Pro ~ % which brew
/usr/local/bin/brew

marseel@Marseels-MacBook-Pro ~ % whereis brew
brew: /usr/local/bin/brew /usr/local/share/man/man1/brew.1

marseel@Marseels-MacBook-Pro ~ % brew config
HOMEBREW_VERSION: 4.4.8
ORIGIN: https://github.com/Homebrew/brew
HEAD: e78a0adb4f260913fffdc956cc8c20fb54109feb
Last commit: 5 days ago
Branch: stable
Core tap JSON: 30 Nov 09:05 UTC
Core cask tap JSON: 30 Nov 09:05 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.6 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: octa-core 64-bit westmere
Clang: 16.0.0 build 1600
Git: 2.39.5 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.1.1-x86_64
CLT: 16.1.0.0.1.1729049160
Xcode: N/A
Rosetta 2: true

~/.zprofile

marseel@Marseels-MacBook-Pro ~ % nano ~/.zprofile
# Setting PATH for Python 3.11
# The original version is saved in .zprofile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}"
export PATH

##
# Your previous /Users/marseel/.zprofile file was backed up as /Users/marseel/.$
##

# MacPorts Installer addition on 2023-07-20_at_02:40:19: adding an appropriate $
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.


eval "$(/opt/homebrew/bin/brew shellenv)"

eval "$(/usr/local/bin/brew shellenv)"
@Rocketplanner83
Copy link

I just got the same error when trying to install whiskey on my M4 Macbook pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants