Alright, so there are actually three separate issues tangled together here. Let me break them down:
1. The archive1.piwheels.org DNS failure (blocking issue):
This is the show-stopper right now. archive1.piwheels.org returning NXDOMAIN while piwheels.org resolves fine suggests that particular subdomain either no longer exists or has been decommissioned on the piwheels CDN side. The mcap package is pure Python (py3-none-any) so there’s no arch-specific reason it needs to come from piwheels at all.
Try forcing pip to use PyPI directly for this package:
pip install --index-url https://pypi.org/simple/ mcap==1.3.0
If that works, then run the full script again — or better yet, temporarily disable the piwheels extra index while running the install script:
PIP_EXTRA_INDEX_URL="" ./pinsight_install_dependencies.sh
2. The open3d marker issue:
That marker string is suspicious. Let me decode it:
platform_machine != "armv6l" and platform_machine != "armv7l" and python_version < "3.9" and platform_machine != "aarch64"
For this to evaluate to True (meaning “install this wheel”), ALL conditions must be true. Your board is aarch64, so platform_machine != "aarch64" is False — therefore the whole thing is False and the wheel is skipped. This looks like it’s an old piwheels-hosted wheel that was packaged before proper aarch64 open3d builds were available.
Once we get past the DNS issue, you’ll likely need to install open3d from a different source. On Bookworm aarch64, try:
pip install open3d
This should pull from PyPI where they have proper aarch64 wheels for Python 3.11.
3. The send2trash warning and requests ping-pong:
Those are cosmetic issues with cached/outdated piwheels metadata. The send2trash dependency parsing error is a known quirk with older piwheels metadata having malformed environment markers — it won’t affect functionality. The requests downgrade-then-upgrade is pip’s dependency resolver reconciling conflicting version constraints from different packages. Not harmful.
Start with the DNS workaround and let me know if you get past the mcap install.