Inkscape cannot find Ghostscript

Wanted to open a PS/EPS in Inkscape, but got this error message about how Inkscape could not find Ghostscript..

Now, I don’t have admin rights (work computer), so I downloaded the GS installer (version 10.x for 64-bit Windows) and rather than running it, I unzipped it into:

C:\Users\USERNAME\installs\gs10

and added

C:\Users\USERNAME\installs\gs10\bin

and

 C:\Users\USERNAME\installs\gs10\lib

to my personal path. Then I created 2 new environment variables (personal ones, no need for admin):

GS=gswin64

and

GS_LIB=C:\Users\USERNAME\installs\gs10\lib

Then ran Inkscape and now it can find the GS binary… I can choose built-in or Poppler import and all is well!

I can also now use GS from the command line if I want to.