I struggled with pip install on an M1 Mac

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.

environment

MacBookPro M1

Cause of stumbling

Homebrew is not supported by ARM processors I gave up the installation.

In the first place, it could not be installed normally

Homebrew installation method

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

I struggled with pip install on an M1 Mac
I tried running WordPress with docker preview on M1 Mac.
I can't install rails on my mac
Install Ruby / Rails on Mac M1 Big Sur 2021-01
Install gradle on mac
Install openjdk11 on mac
Install OpenJDK 8 on mac
[Ruby] I can't install puma on Mac [Rails, etc.]
Install tomcat + eclipse on mac
When I changed to M1 mac, bundle install became impossible
Note when pip install mysqlclient cannot be installed on Mac
Gcc error solution with "pip install annoy" on AWS EC2
Install metrics-server with Helm on Kubernetes that comes with Docker for Mac
Install Java with zip on Windows
I can't install lombok with Gradle.
On jetson nano, I tried pip install xxx.whl with Dockerfile but got an error (xxx.whl is not a supported wheel on this platform.)
Use Docker on your M1 Mac
Install ruby on Ubuntu 20.04 with rbenv
Install Ubuntu Server 20.04 in VirtualBox on Mac and connect with SSH
Install Java development environment on Mac
I get an error with bundle install and puma cannot be installed.
I made an app to scribble with PencilKit on a PDF file
Install Docker Desktop for Mac with Homebrew
How to install Eclipse (Photon) on Mac
I want to install PHP 7.2 on Ubuntu 20.04.
I made an eco server with scala
Install Java8 with Yum on Amazon Linux
Build an environment with Docker on AWS
Run Ubuntu + ROS with Docker on Mac
I tried using Junit on Mac VScode Maven
Install java and android-sdk on Mac using homebrew
Run mysql image on M1 MAC (Apple Silicon)
I tried putting Java on my Mac easily
Install Java 11 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Run Edge (Chromium version) on Mac with Selenium
I couldn't install docker with raspberry pi2 b +.
Note Book: OpenCV with CUDA Install On Windows10
Install Java 14 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install SonarQube on Mac and challenge source analysis
Install an older version of Docker for Mac
Install Java 8 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install GitLab on CentOS 8 with no internet connection
Run an application made with Go on Heroku
[Ruby on Rails] Let's build an environment on mac
Ruby on Rails development environment construction on M1 Mac
I tried installing docker on an EC2 instance
I tried running Java on a Mac terminal
I made a portfolio with Ruby On Rails
I tried Getting Started with Gradle on Heroku