When you are use python pillow to convert eps file to other formats, you may find this error: OSError: Unable to locate Ghostscript on paths. In this tutorial, we will introduce you how to fix this error.
Here is an example:
How to fix this oserror?
We should install Ghostscript.
Install ghostscript with anaconda
We can use conda command to install ghostscript.
conda install -c conda-forge ghostscript
Then you will find:
Press y, then you will install ghostscript into your python environment.
Then you will find this error is fixed, you do not need to set system environment if you are using windows system.