Skip to content Skip to sidebar Skip to footer

Linking Ghostscript To Pypdfocr In Windows Platform

Installed pypdfocr and ghostscript via pip installation. But, when the pypdfocr is run in the command prompt: [env27] C:\Users\888537>pypdfocr Hotel.pdf ERROR: Could not find Gh

Solution 1:

You can install Ghostscript directly via installer given on their page - https://ghostscript.com/download/gsdnld.html

After that, you need to set environment variable.

Add a new system variable:

Variable: GS_PROG

Value: Full path to the location of your gswin64c.exe file (in your GhostScript installation directory – the default location is C:\Program Files\gs\gs9.21\bin\gswin64c.exe, but this may vary depending on where you installed it)

Post a Comment for "Linking Ghostscript To Pypdfocr In Windows Platform"