betteridiot/seqlogo

OSError: Could not find Ghostscript on path. There should be either a gs executable or a gswin32c.exe on your system's path

sunjiahe-hub opened this issue · 3 comments

When running the sample example, I encountered a problem and reported the following error:
OSError: Could not find Ghostscript on path. There should be either a gs executable or a gswin32c.exe on your system's path

conda install ghostscript

I also get this error even when I have ghostscript installed in my virtualenv.

Apparently I wasn't receiving email notifications for new issues on this repo. I have no idea why, but nevertheless.

@MingzheHu-Duke's answer is the direction that I have taken in the past. If this is installed via bioconda, this shouldn't be an issue. I will have to playtest a little, but I generally operate in conda env and not virtualenv. I have a sneaking suspicion that installations via virtualenv are not appropriately appending the gs or gswin32c.exe to your PATH. You can always use export PATH="/path/to/gs:${PATH}" to do that temporarily.