trying to download brew in Big Sur:->arch: posix_spawnp: /bin/bash: Bad CPU type in executable

  • Hi, could you please provide the commands to run in order to reproduce this error?

  • Same error when using latest Apple MacBook Pro M1 silicon with Monterey. Here is the command:

    arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    Ref: During installing of Pyenchant on Mac, I get the error "cannot find enchant library" so I used this command after removing default home-brew setup in /opt/homebrew and installing it in /usr area as suggested here:

    https://pyenchant.github.io/pyenchant/install.html#installing-the-enchant-c-library

    It worked on Apple silicon Big Sur M1 silicon earlier - I could import enchant library and spell check.

Add a Comment

Replies

see comment above for the command and other details.