Skip to content
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

Cannot install pyperclip on windows 10 using pip version 21.2.4 #10916

Closed
1 task done
makelly1 opened this issue Feb 19, 2022 · 2 comments
Closed
1 task done

Cannot install pyperclip on windows 10 using pip version 21.2.4 #10916

makelly1 opened this issue Feb 19, 2022 · 2 comments
Labels
type: support User Support

Comments

@makelly1
Copy link

Description

I'm trying to install pyperclip through pip using cmd and I am getting the following error:

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))': /simple/pyperclip/
Could not fetch URL https://pypi.org/simple/pyperclip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pyperclip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))) - skipping
ERROR: Could not find a version that satisfies the requirement pyperclip (from versions: none)
ERROR: No matching distribution found for pyperclip
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))) - skipping

Expected behavior

Not sure whats happening, I tried upgrading pip and that did not work (plus I am already on the most updated version), I also tried the trusted host solution, that did not work. Additionally I tried install pyperclip manually, then compying the exe file to \AppData\Local\Programs\Python\Python310\Scripts folder, then installing pyperclip in the idle shell via import pyperclip but i then get this error:

Traceback (most recent call last):
File "<pyshell#1>", line 1, in
import pyperclip
ModuleNotFoundError: No module named 'pyperclip'

so not sure what else to do.

pip version

21.2.4

Python version

3.10.2

OS

Win 10

How to Reproduce

run the following command in cmd:

C:\Users\your user name\AppData\Local\Programs\Python\Python310\Scripts>pip.exe install pyperclip

Output

Someone please help me install this application.

Code of Conduct

@makelly1 makelly1 added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Feb 19, 2022
@DiddiLeija
Copy link
Member

I can't reproduce this. Maybe you have some configurations in your computer that makes the SSL verification to fail. Are you running a computer from your enterprise? Maybe you'll have to ask them to enable installing stuff from pypi.org. I don't know about this kind of issues, but I know this is out of pip control.

@DiddiLeija DiddiLeija added type: support User Support and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Feb 24, 2022
@pradyunsg
Copy link
Member

pradyunsg commented Apr 8, 2022

Closing for the same reasoning as #8200 (comment).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

3 participants