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

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.
Please rate this article (No signup or login required)
Current rating: 5.0 (1)
Related posts
[Outdated] Using Selenium Remote (Selenium Grid) with browser_use
Obtain HttpOnly=True Session Cookies from Services Logged in via Browser-Use
Fix: Python 3.13 SSL error 'Basic Constraints of CA cert not marked critical' (VERIFY_X509_STRICT)
Template Code for Thread Parallelism and Process Parallelism in Python
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.