Solution

Add the Tesseract-OCR installation path (excluding exe) file to PATH, and restart the system.