question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

arm64 macOS ("Apple Silicon", "M1") install friction

See original GitHub issue

1. Please specify the following:

  • OS: [e.g. OS X, Ubuntu, Windows, etc.]: macOS Big Sur 11.0.1
  • Shell (Bash, PowerShell, Zsh, etc.): Zsh

2. Description This is informational, for those looking to run eb on their ARM Macs.

  1. Python 3.7.2 doesn’t build under macOS arm64. Update this line to refer to 3.9.1, which does build. You may have to follow pyenv’s docs to ensure you have the prerequisite software installed.
  2. With a usable Python installed, rerun the eb installer. It may fail while installing cryptography into a virtualenv; see https://github.com/pyca/cryptography/issues/5702. If so, you’ll have to build it from source. To do this, follow the instructions here to get prereqs, then finally rerun the eb installer script with the flags the cryptography build docs prescribe:
LDFLAGS="-L$(brew --prefix openssl@1.1)/lib" CFLAGS="-I$(brew --prefix openssl@1.1)/include" ./scripts/bundled_installer
  1. Follow the “Finishing up” instructions from the eb installer.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:19
  • Comments:6

github_iconTop GitHub Comments

7reactions
jpsilvashycommented, Apr 24, 2021

Regarding @hishamMounir’s approach, that worked for me after installing python with pyenv I did: brew install awsebcli and everything worked.

0reactions
hishamMounircommented, Feb 8, 2021

I had to install Python manually then, I built cryptgraphy and installed, then I used Homebrew to install the ebcli package instead of building the script, and it worked

Read more comments on GitHub >

github_iconTop Results From Across the Web

Explore the new system architecture of Apple silicon Macs
Leveraging a unified memory architecture for CPU and GPU tasks, Mac apps will see amazing performance benefits from Apple silicon tuned frameworks such...
Read more >
Addressing Architectural Differences in Your macOS Code
Some features of Apple silicon are decidedly different than those of Intel-based Mac computers, and may impact your code if you don't fetch...
Read more >
Use macOS Recovery on a Mac with Apple silicon
Install macOS Ventura: Reinstall macOS on your computer. In the Recovery app, select Reinstall macOS Ventura, then click Continue. To return to the...
Read more >
What is the best current low cost way to run old PC software ...
Native binary compiled for Apple Silicon processors. The release for ARM64 can be downloaded from GitHub. A link to download the same macOS...
Read more >
Platform Support in macOS Installer Packages (pkg)
When a distribution pkg has this attribute and it contains a value of arm64 then the installation process on an Apple silicon Mac...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found