TensorFlow on Windows]1をインストールしようとしています。
pip`でインストールしようとしましたが、いつも同じエラーメッセージが表示されます。
... is not a supported wheel on this platform.
最初はPython 3.5.1で試し、今は3.6.0b4にアップグレードしましたが、違いはありません。
引き続きよろしくお願いします。
Pythonです。
Python 3.6.0b4 (default, Nov 22 2016, 05:30:12) [MSC v.1900 64 bit (AMD64)] on win32
pip:
pip 9.0.1 from ...\python\lib\site-packages (python 3.6)
ゝゝゝゝゝゝゝゝゝゝゝゝゝゝゝ
正確には、以下の2つのコマンドを試してみました。
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl
は以下のように出力されます。
> tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
> tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
どなたかこの問題を解決する方法をご存知ですか?どこで間違えているのかよくわかりません。
ありがとうございます。
ありがとうございました!!
また、こちらで提案されているように、pip install tensorflow
とpip install tensorflow-gpu
も試してみました。その結果、以下のような出力が得られました。
> Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow
> Could not find a version that satisfies the requirement tensorflow-gpu (from versions: ) No matching distribution found for tensorflow-gpu
Python:3.6.3
pip:9.0.1
インストールコマンド 以下のコマンドは、以下のインストールガイドこちらに基づいています。
C:> pip3 install --upgrade tensorflow // cpu
C:> pip3 install --upgrade tensorflow-gpu // gpu
C:> conda create -n tensorflow python=3.5
C:> activate tensorflow
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow-gpu
一般的なインストールの問題点のリストは [こちら][2] にあります。
tensorflow cpuのインストールが成功したときのコンソール出力の例が[ここ][3]にあります。
3.5.1も3.6.xも今のところ動かないようです。 3.5.1も3.6.xも、今のところ動作しないようです。
バージョンは
Version: > Python 3.5.2 pip 8.1.1 ... (python 3.5)
コマンドを使用しています。
// cpu
C:> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
// gpu
C:> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl
湞湞湞
[2]: https://www.tensorflow.org/install/install_windows#common_installation_problems [3]: https://pastebin.com/39Xwd3BW
Windowsおよび64ビットのPython 3.5にPipをインストールする場合。
CPUのみのバージョンです。
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
GPU版の場合。
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl
https://www.tensorflow.org/versions/r0.12/get_started/os_setup.html
https://stackoverflow.com/questions/38896424/tensorflow-not-found-in-pip?noredirect=1&lq=1もご覧ください。
Tensor flowはpython 2.7 3.4 3.5のみをサポートしています。 その他のバージョンのpythonはサポートされていません。 そのため、サポートされているpythonのバージョンをインストールして、再度お試しください。 公式リンクは https://www.tensorflow.org/install/install_linux#InstallingAnaconda です。 anacondaでのインストール方法が記載されています。 これはあなたの助けになるでしょう。