[Python] Installation Pyperclip error: No matching distribution found for Pyperclip

Source: Internet
Author: User

Problem Description:

The Python version that is already installed is 3.6.1, running in the corporate network environment.

When installing a third-party module in CMD pyperclip, the error ' No matching distribution found for Pyperclip '.

As follows:

C:\users\csnow\appdata\local\programs\python\python36\scripts> pip Install pyperclipcollecting Pyperclip retrying (Retry ( total=4, Connect=none, Read=none, redirect=None)) After connection broken by'Connecttimefouterror (<pip._vendor.requests.packages.urllib3.conneCtion. VerifiedhttpsconnectionObjectAt0x0000000003bb5a20,'Connection to PyPI. python.org timed out. (Connect timeout= the)')':/simple/pyperclip/retrying (Retry ( total=3, Connect=none, Read=none, redirect=None)) After connection broken by'Connecttimeouterror (<pip._vendor.requests.packages.urllib3.conneCtion. VerifiedhttpsconnectionObjectAt0x0000000003bb5b70,'Connection to PyPI. python.org timed out. (Connect timeout= the)')':/simple/pyperclip/retrying (Retry ( total=2, Connect=none, Read=none, redirect=None)) After connection broken by'Connecttimeouterror (<pip._vendor.requests.packages.urllib3.conneCtion. VerifiedhttpsconnectionObjectAt0x0000000003bb5c18,'Connection to PyPI. python.org timed out. (Connect timeout= the)')':/simple/pyperclip/retrying (Retry ( total=1, Connect=none, Read=none, redirect=None)) After connection broken by'Connecttimeouterror (<pip._vendor.requests.packages.urllib3.conneCtion. VerifiedhttpsconnectionObjectAt0x0000000003bb5860,'Connection to PyPI. python.org timed out. (Connect timeout= the)')':/simple/pyperclip/retrying (Retry ( total=0, Connect=none, Read=none, redirect=None)) After connection broken by'Connecttimeouterror (<pip._vendor.requests.packages.urllib3.conneCtion. VerifiedhttpsconnectionObjectAt0x0000000003bb54e0,'Connection to PyPI. python.org timed out. (Connect timeout= the)')':/simple/pyperclip/ Could not find a version this satisfies the requirement pyperclip ( from versions:) No matching Distribution found for Pyperclip  

Solution Ideas:

Use the ping command to discover that all packages are timeout, that the firewall is blocked, and that the CMD data is not passed through the Web browser proxy.

Replace the network connection, select a network that does not go through the corporate firewall (for example, mobile hotspot), fix the problem, and the PIP installs successfully with the upgrade prompt.

C:\users\csnow\appdata\local\programs\python\python36\scripts> pip Install pyperclipcollecting pyperclip downloading Pyperclip-1.6.0. tar.gzinstalling collected packages:pyperclip Running setup.py install forPyperclip. Donesuccessfully installed Pyperclip -1.6. 0  you areusingPIP version9.0.1, however version9.0.3  isavailable. You should consider upgrading via the'python-m pip install--upgrade pip'command.

The command to run the import module in Python idle was successful (no error occurred).

>>> Import Pyperclip

[Python] Installation Pyperclip error: No matching distribution found for Pyperclip

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.