Python Environment Set-Up with M1 Chip
source link: https://hackernoon.com/python-environment-set-up-with-m1-chip
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Automatic receipt transcription that doesn’t suck.
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK