Python Environment Set-Up with M1 Chip

Written by hannahroseoc | Published 2021/09/24
Tech Story Tags: python | apple-m1 | m1-macbook | m1-mac | pip | m1-help | python-environment-setup | good-company

TLDR There are some python library packages that don't support M1 chip yet. The solution: Jump into a virtual environment with conda - `conda activate.venv` The solution is to install the conda package manager via conda. Miniforge supports conda (allows you to install conda) via the TL;DR App

After unboxing my gleaming new Apple MacBook Air with the powerful M1 chip, I quickly realised, as a developer, that I would be running into issues with M1 support for a while until the world has caught up and supports M1 chips as much as the intel chips.

I would like to document my issues and answers to help others who are experiencing the same ones during this time period in transit.

The Problem

Issues occurred because there are some python library packages that don't support M1 chips yet.

The Solution:

  • Jump into a virtual environment with conda - conda activate .venv
  • If pip is having a problem, look for the package in conda - install it via conda

Note:

Miniforge supports conda (allows you to install the conda package manager)

Please get in contact if you come across any other issues, updates, or solutions regarding setting up development with the M1 chip! A lot of time was sucked out of my life as I struggled to find clear and effective answers to python~M1 issues. I am collating solutions regarding python set-up for others to access efficiently, as they have become diluted in the intel-heavy internet.


Written by hannahroseoc | Automatic receipt transcription that doesn’t suck.
Published by HackerNoon on 2021/09/24