Python Forum

Full Version: GnuPG is not installed. Help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good day. I've been dealing with this for days now. i keep on googling how to fix this but unfortunately i found none.

i believe i have installed the required components but still not working.

please help. T_T

[Image: 8z33td.jpg]
What wrer you googling for? This was at the top of the list when I tried: https://www.gnupg.org/
base on the image i-attach. i says there that "GnuPG is not installed."

i already install the GnuPG from this website. (https://www.gnupg.org/download/index.html)
i download the stable version for windows.

i also install python-gnugp via pip.

but still having an error when i "gpg = gnupg.GPG()"
You have homedir in doc it say gnupghome.
Backslash(\) not this way,because of escape character.
gpg = gnupg.GPG(gnupghome='C:/Program Files (x86)/GNU/GnuPG1.4')
There are several versions, based on which version of python you are running see: https://pypi.python.org/pypi/gnupg/2.2.0

If you have more than one version of python installed, when you run pip, you may not be running a version for a different python
without knowing, this is dependent on your path (windows) .

You can make sure you are running the version you expect by using the full path, for example for python3.4, (on windows)
C:\Python34\Scripts\pip install GnuPG
(Feb-19-2017, 01:25 PM)snippsat Wrote: [ -> ]You have homedir in doc it say gnupghome.
Backslash(\) not this way,because of escape character.
gpg = gnupg.GPG(gnupghome='C:/Program Files (x86)/GNU/GnuPG1.4')

i still have the same error.

change homedir to gnugphome
change \ to /

still, the message "GnuPG is not installed" shows up.

(Feb-19-2017, 01:27 PM)Larz60+ Wrote: [ -> ]There are several versions, based on which version of python you are running see: https://pypi.python.org/pypi/gnupg/2.2.0

If you have more than one version of python installed, when you run pip, you may not be running a version for a different python
without knowing, this is dependent on your path (windows) .

You can make sure you are running the version you expect by using the full path, for example for python3.4, (on windows)
C:\Python34\Scripts\pip install GnuPG


yep. i'm familiar with that. 


i have python 3.6 and python 2.7.
with cmd... i navigate first to the script folder of python 2.7 before i install something

i have google a lot. but there are no pretty straight forward tutorial or step by step how GnuPG works in python with windows.
what i see are more on linux.