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.
Comments