ProtonMail / proton-python-client

Python Proton client module
GNU General Public License v3.0
338 stars 62 forks source link

No module named 'gnupg' #39

Open sova32 opened 2 years ago

sova32 commented 2 years ago

ModuleNotFoundError: No module named 'gnupg' vadiki@localhost:/run/media/vadiki/D_238_GB_WD/proton-python-client-master> pip3 install gnupg Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: gnupg in /home/vadiki/.local/lib/python3.8/site-packages (2.3.1) Requirement already satisfied: psutil>=1.2.1 in /usr/lib64/python3.8/site-packages (from gnupg) (5.9.0)

Nllii commented 2 years ago

gnupg

try:

brew install gnupg     

if that doesn't work then create a Docker environment.

CaffeineLab commented 4 months ago

I dealt with this with Python 3.9.1

Upgraded to 3.9.13

I downloaded the zip

pip install wheel

Installed the requirements from the proton package with
pip install -r requirments.txt

then I installed it with pip install .