My problem: I am using Python to print plots which I usually output as .pdf file. Now I want to use .eps files, but Ghostscript is required (which I noticed because my Python console gave the error "Command gs not found").
Now I installed Ghostscript and I even went so far as to write an AutoRun into the registry under
HKEY_CURRENT_USER -> Software -> Microsoft -> CommandProcessor with the value set to a .cmd file where I define an alias
doskey gs=gswin64c (since on Windows the executable is named
gswin64c but Python wants to run the Linux version
Anyway, I still get the error. The bottom of the Python console prints:
gs_distill your image.\nHere is the full report generated by ghostscript:\n\n' + fh.read())
TypeError: Can't convert 'bytes' object to str implicitly.
I believe the error is connected to Python not being able to run Ghostscript, but don't know where to go from here. Any solutions? Thanks in advance!