When pipenv lock Fails on M1 Mac

Pythonmac
2022-01-03 11:15 (4 years ago)
When pipenv lock Fails on M1 Mac

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.

Categories

Archive