在树莓派上,运行 sudo upgrade 后,在导入cv2的时候可能会出现 realloc(): invalid pointern Aborted 错误。我们也遇到了同样的问题,并且找到了解决方案 :
- 通过运行
sudo apt install -y --allow-downgrades libc6=2.28-10+rpi1命令使libc6降级。 - 通过运行以下
sudo curl -fL http://docs.luxonis.com/_static/install_dependencies.sh | bash命令重新安装depthai依赖。
