pip install GnuPG
says that the requirement is already satisfied but when I run a python script with GnuPG it says GnuPG is not installed
.
Asked
Active
Viewed 3,747 times
2

sajad abbasi
- 1,988
- 2
- 22
- 43

Daniel Torzala
- 81
- 1
- 6
3 Answers
6
In order to fix my environment I had to uninstall pgp and python-gnupg using the pip uninstall commands and then ONLY install python-gnupg. I must have had multiple versions of pgp and python was using the wrong one.

Daniel Torzala
- 81
- 1
- 6
0
are you sure about the python and pip version?
try to see pip is referring to which python version and you are running script in which python version, verify if these are the same.

sajad abbasi
- 1,988
- 2
- 22
- 43
-
python --version returns Python 3.7.3; pip --version returns pip 19.1.1 from C:\ProgramData\Anaconda3\lib\site-packages\pip (python 3.7) ; Could it be an issue with the Anaconda environment? I am running all commands through Anaconda Prompt – Daniel Torzala Jun 28 '19 at 17:27
0
This is what might be happening
- Run pip list to make sure all the libraries you have installed pgp, gnupg...
- Uninstall those libraries
pip unistall library-name
- Then leave or install
python-gngpg
In this way you will make sure you are using the right version and your code should work

Its a Me
- 1
- 1