/Mac Ventura 13.2 - Mx CPU series Secret
Last active
November 22, 2023 09:25
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------------------------- | |
brew | |
----------------------------------------------------------------------------------------------------------------- | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
Follow the next Steps shown in the Terminal | |
----------------------------------------------------------------------------------------------------------------- | |
pipenv | |
----------------------------------------------------------------------------------------------------------------- | |
cd ~ | |
echo 'export PATH=$HOME/Library/Python/3.9/bin:$PATH' >> .zshrc | |
pip3 install pipenv | |
----------------------------------------------------------------------------------------------------------------- | |
pyenv | |
----------------------------------------------------------------------------------------------------------------- | |
brew install pyenv | |
echo 'eval "$(pyenv init --path)"' >> ~/.zshrc | |
echo 'eval "$(pyenv init -)"' >> ~/.zshrc | |
----------------------------------------------------------------------------------------------------------------- | |
gcloud | |
----------------------------------------------------------------------------------------------------------------- | |
Download, install & extract matching version from: https://cloud.google.com/sdk/docs/install#mac | |
~/Downloads/google-cloud-sdk/install.sh | |
gcloud components install app-engine-python | |
gcloud components install app-engine-python-extras | |
gcloud init | |
----------------------------------------------------------------------------------------------------------------- | |
node + npm | |
----------------------------------------------------------------------------------------------------------------- | |
Download and install matching version from: https://nodejs.org/en/download/ | |
----------------------------------------------------------------------------------------------------------------- | |
enforce building grpcio | |
----------------------------------------------------------------------------------------------------------------- | |
echo 'export PIP_NO_BINARY=grpcio' >> ~/.zshrc | |
----------------------------------------------------------------------------------------------------------------- | |
clear pipenv cache | |
----------------------------------------------------------------------------------------------------------------- | |
pipenv --clear |
I've gone through the whole process myself now on my M2 MacBook Air.
I struggled a bit and this guide helped me quite well.
The last crucial hint I would like to share was this post on Stackoverflow.
After adding SYSTEM_VERSION_COMPAT=1
to zshrc via echo 'export SYSTEM_VERSION_COMPAT=1' >> ~/.zshrc
and reinstalling pipenv my local server is now running.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@XeoN-GHMB after executing 'gcloud init' you have to execute 'gcloud auth application-default login' or viur wont start the dev server