2017-11-02 3 views
-1
sudo -u <username>/lm/tools/extern/python/libs/lmdata33-env/bin/pip-3.3 install requests 
Downloading/unpacking requests 
    Cannot fetch index base URL http://pypi.python.org/simple/ 
    Could not find any downloads that satisfy the requirement requests 
No distributions at all found for requests 
Storing complete log in /home/lmbuild1/.pip/pip.log 

追加情報:URL http://pypi.python.org/simple/pipを取得できませんでした:HTTPエラー403:SSLは、あなたがに接続しようとピップの古いバージョンを使用しているできない

答えて

1

必要ですプレーンHTTP上のPyPIこれは安全ではなく、常に安全ではなく、結果としてPyPI started disallowing plain HTTP requests a week agoです。これを修正するには、pipのバージョンをアップグレードする必要があります。お使いのOSのパッケージマネージャが最新バージョンのpipを提供していない場合は、https://bootstrap.pypa.io/get-pip.pyをダウンロードしてpython get-pip.pyを実行して、these instructionsに従うことができます。

+0

ありがとうございます。ピップアップデートがうまくいった! –