Fix OSError: Unable to locate Ghostscript on paths for Python Beginners – Python Tutorial

By | August 30, 2020

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:

OSError - Unable to locate Ghostscript on paths

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:

anaconda install ghostscript

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.

Leave a Reply

Your email address will not be published. Required fields are marked *