title: Importing Ghostscript on Windows 10
body: <p>I am trying to import <code>ghostscript</code> into Python</p>
  <p>when I type <code>import ghostscript</code>, I get the following error message:</p>
  <blockquote>
  <p>Traceback (most recent call last):   File &quot;&lt;pyshell#0&gt;&quot;, line 1, in
  
  import ghostscript   File &quot;C:\Users...\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ghostscript_<em>init</em>_.py&quot;,
  line 35, in 
  from . import _gsprint as gs   File &quot;C:\Users...\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ghostscript_gsprint.py&quot;,
  line 505, in 
  raise RuntimeError('Can not find Ghostscript DLL in registry') RuntimeError: Can not find Ghostscript DLL in registry</p>
  </blockquote>
  <p>I am using Windows 10.</p>
  <p>I have confirmed I am using Python 3.8.3, 32-bit.</p>
  <p>I found this thread: <a href="https://stackoverflow.com/questions/31886385/importing-ghostscript-in-python-on-windows-8">Importing Ghostscript in Python on Windows 8</a>, but it was not very helpful.</p>
  <p>Any suggestions?</p>
  <p>I'm not sure how to figure out if I'm using ghostscript version 32-bit or 64-bit.</p>
  <p><strong>Edit #1:</strong></p>
  <p>I installed Ghostscript by doing <code>python -m pip install ghostscript</code></p>