Importing Ghostscript in Python on Windows 8 -
i've been trying import ghostscript python in order convert pdf files .tiff format.
i using python version 2.7.10 on windows 8.
i have downloaded , installed ghostscript using pip, , appears in correct location (...\anaconda\lib\sitepackages). i've confirmed other packages located in directory can imported python.
i using command import ghostscript
when so, error message:
runtimeerror: can not find ghostscript dll in registry
the traceback indicates calling file "ghoscript_init_.py" imports _gsprint gs.
however, when import function attempts access "ghostscript_gsprint.py", produces runtimeerror unable find ghostscript dll.
i grateful advice or tips. thanks!
as installing ghostscript
python bindings pypi pip install ghostscript
, need install correct ghostscript program platform, described on pypi page. page states version 8.x required, i'm using 9.2 successfully.
the download links here.
Comments
Post a Comment