PipはTensorflowの問題をインストールできません



Pip Cant Install Tensorflow Problem



Linuxでpipを使用してtensorflowをインストールすると、一致するパッケージを見つけるように求められます。

$ pip install tensorflow Downloading/unpacking tensorflow Could not find any downloads that satisfy the requirement tensorflow Cleaning up... No distributions at all found for tensorflow Storing complete log in /home/kongxx/.pip/pip.log

pipはタイプ.whlのファイルを認識しないため、pip.logファイルを確認してください。



$ cat /home/kongxx/.pip/pip.log

... Skipping link https://pypi.python.org/packages/fe/dd/8764ae59e8ff74421d615ddb9c86a1b404c27708dfde3caa8f17c183788d/tensorflow-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl#md5=e82e309e6af0996f2083f59cf21d392c (from https://pypi.python.org/simple/tensorflow/) unknown archive format: .whl Could not find any downloads that satisfy the requirement tensorflow

この問題の理由は、pipのバージョンが低すぎるため、pipをアップグレードする必要があるためです。



$ pip install pip -U

その後、再度インストールします

$ pip install tensorflow