2017-08-30 11 views
0

Windows 8にpipライブラリをインストールしようとしています。現在のpythonバージョン2.7.3。 https://pip.pypa.io/en/stable/installing/Python- Windowsでpipをインストールできません - pipの一致するディストリビューションが見つかりません

Python get-pip.pyを実行すると、コマンドプロンプト(管理者として)で、次のエラーが表示されます。私は私の会社のネットワーク上でこれを実行しています。このコマンドは私にIPアドレスを提供することを期待していますか?私は解決策を探してみましたが、満足のいく答えを得ることができませんでした。それに解決策はありますか?全てのPythonのバージョン、両方の32ビットおよび64ビットのためのいくつかのPythonパッケージでWindows msi installers collectionあり

C:\windows\system32>cd C:\Python27 

C:\Python27>python get-pip.py 
Collecting pip 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec 
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x03654450>: Failed to establish a new c 
onnection: [Errno 10061] No connection could be made because the target machine 
actively refused it',)': /simple/pip/ 
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec 
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x03654490>: Failed to establish a new c 
onnection: [Errno 10061] No connection could be made because the target machine 
actively refused it',)': /simple/pip/ 
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec 
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x03654410>: Failed to establish a new c 
onnection: [Errno 10061] No connection could be made because the target machine 
actively refused it',)': /simple/pip/ 
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec 
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x03654150>: Failed to establish a new c 
onnection: [Errno 10061] No connection could be made because the target machine 
actively refused it',)': /simple/pip/ 
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec 
tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x03654550>: Failed to establish a new c 
onnection: [Errno 10061] No connection could be made because the target machine 
actively refused it',)': /simple/pip/ 
    Could not find a version that satisfies the requirement pip (from versions:) 
No matching distribution found for pip 

C:\Python27> 

答えて

0

を提案してください。あなたは

その後、私はCでピップを見つけたsetuptoolsの

  • はピップインストールインストールする必要があります:\ Python27 \スクリプト\ pip.exe。今すぐパスに追加できます

  • 0

    インターネットに接続していますか?
    最初にインターネットに接続し、このコマンドをもう一度入力します。その場合にもこの問題は解決しません。インストール中にpythonをダウンロードするには、pipをインストールするオプションがあります。ご使用のシステムにオプションとpipがインストールされていることを確認してください。

    ピップをpath variableに追加するオプションもあります。

    あなたがpipをインストール直面した場合は、私が成功したインターネット接続を使用し、会社から切断した後、PIPをインストールすることができ、このlink

    0

    を参照してください。何とか接続要求を拒否しようとしていました。一度私は地元のコーヒー豆のホットスポットに接続し、それは完全に働いた。サポートしてくれてありがとう。 PipはPythonにインストールされています2.7.3

    Microsoft Windows [Version 6.3.9600] 
    (c) 2013 Microsoft Corporation. All rights reserved. 
    
    C:\windows\system32>cd C:\Python27 
    
    C:\Python27>python get-pip.py 
    Collecting pip 
    c:\users\aja67\appdata\local\temp\tmpvssw7v\pip.zip\pip\_vendor\requests\package 
    s\urllib3\util\ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, b 
    ut the SNI (Subject Name Indication) extension to TLS is not available on this p 
    latform. This may cause the server to present an incorrect TLS certificate, whic 
    h can cause validation failures. You can upgrade to a newer version of Python to 
    solve this. For more information, see https://urllib3.readthedocs.io/en/latest/ 
    security.html#snimissingwarning. 
    c:\users\aja67\appdata\local\temp\tmpvssw7v\pip.zip\pip\_vendor\requests\package 
    s\urllib3\util\ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is 
    not available. This prevents urllib3 from configuring SSL appropriately and may 
    cause certain SSL connections to fail. You can upgrade to a newer version of Py 
    thon to solve this. For more information, see https://urllib3.readthedocs.io/en/ 
    latest/security.html#insecureplatformwarning. 
        Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB) 
        100% |################################| 1.3MB 328kB/s 
    Collecting wheel 
        Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB) 
        100% |################################| 71kB 597kB/s 
    Installing collected packages: pip, wheel 
    Successfully installed pip-9.0.1 wheel-0.29.0 
    c:\users\aja67\appdata\local\temp\tmpvssw7v\pip.zip\pip\_vendor\requests\package 
    s\urllib3\util\ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is 
    not available. This prevents urllib3 from configuring SSL appropriately and may 
    cause certain SSL connections to fail. You can upgrade to a newer version of Py 
    thon to solve this. For more information, see https://urllib3.readthedocs.io/en/ 
    latest/security.html#insecureplatformwarning. 
    
    C:\Python27> 
    
    関連する問題