Install python via pyenv on M1 macOS 12.3

I was helping our team’s non-dev folks to set up dev environment and faced a pyenv issue again.

I was like 🤯 🤯 🤯 since I did the same thing 2 weeks ago on my day 1 which was macOS 12.2.1

A workaround for that is the follwing.

$ CC=CC=/opt/homebrew/bin/gcc-11 pyenv install 3.7.10

You can check the path with which brew.

--

--

software engineer works for a Biotechnology Research startup in Brooklyn. #CreativeCoding #Art #IoT #MachineLearning #python #typescript #javascript #reactjs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
koji

software engineer works for a Biotechnology Research startup in Brooklyn. #CreativeCoding #Art #IoT #MachineLearning #python #typescript #javascript #reactjs