Edit Path variable in System environment variables.

(OS: Windows 10)

1. In Search, search for and then select: System (Control Panel)

2. Click the Advanced system settings.

3. Click Environment Variables.

4. In the section System variables click Path environment variable and click Edit.

5. Find "C:\Program Files\Cognex\VisionPro Deep Learning\4.2\bin" on the list and click Move Up to move this path to the top of the list.

6. Click OK and restart the VisionPro Deep Learning.