MacOS 錯誤:「無法載入程式庫 libusb-1.0.0.dylib」
您看到什麼?
[ ERROR ] Failed to create plugin /Users/username/intel//openvino_2019.3.334/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.dylib for device MYRIAD
Please, check your environment
Cannot load library '/Users/username/intel//openvino_2019.3.334/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.dylib': dlopen(/Users/username/intel//openvino_2019.3.334/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.dylib, 1): Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: /Users/username/intel//openvino_2019.3.334/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.dylib
Reason: image not found
Error on or near line 239; exiting with status 1}
為什麼會看到它?
未安裝在Intel® 類神經電腦棒 2上執行推斷所需的 libusb 程式庫,macOS 的OpenVINO™工具組在 安裝Intel® 類神經電腦棒 2時 有額外的步驟。
如何修正:
若要安裝遺失的資料庫,請在 MacOS 終端執行下列命令:
brew install libusb
注意 | 適用于 MacOS 2019 R3 的 OpenVINO™ 工具組新增了對Intel® 類神經電腦棒 2的支援。 |