MacOS Error: "Cannot load library libusb-1.0.0.dylib"


Error Messages



What are you seeing?

[ 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}

Why are you seeing it?

The libusb library required to perform inference on the Intel® Neural Compute Stick 2 is not installed, the OpenVINO™ Toolkit for MacOS has additional steps when installing the Intel® Neural Compute Stick 2.

How to fix it:

To install the missing library run the following command in the MacOS Terminal:

brew install libusb

Note The OpenVINO™ toolkit for MacOS 2019 R3 added support for the Intel® Neural Compute Stick 2.