AttrDict probably does not work due to a collections import error:
ImportError: cannot import name 'Mapping' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
You should update the pip package to work with the new collections-library. Fortunately I already made a fork, so you have to do:
Installing pyrealsense2 on M1
For everyone with M1 Macs that tries to install pyrealsense2: This step by step worked for me https://github.com/IntelRealSense/librealsense/issues/5275#issuecomment-1059876482. NOTE: Do not clone this in a folder that is in your iCloud Drive and
brew install glfw
instead ofglfw3
.Running
simulation.py
with Python 3.10AttrDict
probably does not work due to a collections import error:ImportError: cannot import name 'Mapping' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
You should update the pip package to work with the newcollections
-library. Fortunately I already made a fork, so you have to do:If you want to check your install: