Reference article https://freeheroblog.com/pipenv-install/
I bought a MacBook Pro with an M1, but I couldn't even pip install it. Because I got over it. I don't do anything difficult, I don't write or understand.
MacBookPro M1
Homebrew is not supported by ARM processors I gave up the installation.
In the first place, it could not be installed normally
Without worrying about it At the terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
When you run I get an error like "Not compatible with ARM processor" At the same time, in the sentence below, "Rerun the Homebrew installation on Rosetta 2" It is written
Therefore, install it from Rosetta, but here's how to do it.
① Search the terminal from Finder ② Two-finger click (right click) on the terminal ③ Click "Get Info" ④ Check Open using "Rosetta"
At this point, open the terminal again and
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
I will do it
If something goes wrong, restart your PC So I was able to install it too
If you can do this Pip install now works fine, even in a virtual environment
Recommended Posts