Fix `pipenv lock` failures on M1 (Apple Silicon) Macs — wheels for `grpcio` / `cryptography` may not exist on arm64, so use Rosetta or pin compatible versions.
Here's an introduction to a code snippet that waits for an element to disappear, using Pyppeteer, which is Python's version of Puppeteer. The same approach should work similarly in Puppeteer's JavaScript version.
If a Django project that has been working until now fails to start after a long time with the following error:
```
version_info, _mysql.version_info, _mysql.__file__
NameError: name '_mysql' is not defined
```
How to return a Shift-JIS (CP932) CSV download response from Django on Python 3 — write to StringIO as Unicode first, then encode to cp932 in one shot.
Fix an `import requests` failure caused by a missing `_ssl` module in Python 3 on macOS — rebuild Python via pyenv so it links against the system OpenSSL.