Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I thought I'd share this because it took me a while to figure out, and hopefully others may have use of this.
This deals specifically with the case if you have transferred from an Intel Mac to an Apple Silicon Mac with an existing Homebrew install. In my case I opted for it because having to reinstall everything wasn't worth it to me: I don't develop software that often anymore.
Anyway, the
pyenv install <version>
command failed with the"ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?" message (https://apple.stackexchange.com/questions/410825/apple-silicon-port-all-homebrew-packages-under-usr-local-opt-to-opt-homebrew).
After some digging here is the answer:
Even though I had reinstalled Homebrew, there was still the existing version in /usr/local for Intel Mac hiding the /opt/homebrew version. By following the uninstall steps here:
https://apple.stackexchange.com/questions/410825/apple-silicon-port-all-homebrew-packages-under-usr-local-opt-to-opt-homebrew. I used DaniG2K's uninstall steps (https://apple.stackexchange.com/a/410998).
and adding /opt/homebrew/bin to the front of my PATH, everything worked fine.
Hope that helps someone in the same situation. Maybe a general FAQ answer "how to survive a move from Intel Mac to M1 would be good here..." :-)
Beta Was this translation helpful? Give feedback.
All reactions