-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip install gpg==1.10.0 not working on Windows #6960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @Siddharthk. This looks like an issue specific to the gpg project itself. Per the README, one place to get help would be to send an email to the mailing list: https://lists.gnupg.org/mailman/listinfo/gnupg-users. You may also post on a general user help site like superuser.com. One hint that may help you: The setup.py in gpg that is raising this exception is trying to execute I will leave this open for a bit in case you have concerns. I would really suggest reaching out to one of the gpg support avenues I mentioned above. |
@chrahunt Below is the output for your command:
I tried creating bug on gpg project but they closed it. |
@chrahunt For more information, I tried below things with no luck:
All of the above result is same below issue:
Really appreciate if someone can help me out. |
I would not mix a Windows-installed Python with msys2 or Cygwin, since it may give confusing results like this. If you use can use Windows 10 only, then Windows Subsystem for Linux would be a good option. If you install one of the distributions mentioned here (for example, Ubuntu) then you should be able to follow any instructions for that distribution to get the library working. Just make sure you use a Python installed in the WSL environment, not the Windows-installed Python. |
@chrahunt I was just trying out different windows environments. I can't use windows 10 since my office PC has windows 7. I was not able to find a way to install libgpgme-devel package without using cygwin or msys2. Am I missing something here? |
Installing the You may use I would definitely post your query in a general support forum as mentioned above, you'll get a wider audience there who may have better advice. |
@chrahunt Was not able to make it work in Windows...using ubuntu in vagrant to solve the issue. Maybe pip needs to install gpg differently in windows...not sure though. |
Glad you were able to find a way. It can be tough using packages with external requirements, especially on Windows. In this case pip is doing everything it can, it all comes down to what is in the |
Since you've found a workaround I'll close this, but please let us know if you have any other issues. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Environment
Windows
C:\Users\sid>pip --version
pip 19.2.3 from c:\users\sid\appdata\local\programs\python\python36\lib\site-packages\pip (python 3.6)
Python 3.6
Windows
Description
pip install gpg==1.10.0 not working on Windows.
Expected behavior
Package gpg should be installed.
How to Reproduce
Getting below error even after installing libgpgme-devel on cygwin:
Also tried Installing libgpgme-devel using msys2...still same error.
Can someone please help me with this. I am having python 3.6 version.
The text was updated successfully, but these errors were encountered: