When pipenv lock Fails on M1 Mac

mac Python
2022-01-03 20:15 (2 years ago) ytyng

On an Intel Mac, pipenv lock generates the lock file without any issues, but on an M1 (Apple Silicon) (ARM) Mac, an error occurs, and the lock file cannot be created.

arch -x86_64 zsh

By executing this command to emulate x86_64 on Rosetta and then running pipenv lock, it worked successfully.

Current rating: 5

Comments

Archive

2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011