我安装了 pip3 并升级了它。尝试安装 tensorflow 时,我得到以下信息:
daniel@popeax:~$ sudo -H pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl is not a supported wheel on this platform.
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
最佳答案
这个问题与我在 https://askubuntu.com/q/778698/15003 上的 Ask Ubuntu 上回答的问题相同:
目前,根据 https://github.com/tensorflow/tensorflow/issues/2188#issuecomment-216186066 ,解决方案是下载并重命名 wheel 并使用重命名的 wheel 安装:
wget https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
mv tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl tensorflow-0.8.0-cp35-cp35m-linux_x86_64.whl
sudo -H pip3 install tensorflow-0.8.0-cp35-cp35m-linux_x86_64.whl
如果您愿意稍等片刻,根据https://github.com/tensorflow/tensorflow/issues/2188#issuecomment-220363241,Python 3.5 的轮子应该很快就会出来。 .
关于python - 无法在新的 ubuntu 分区 : tensorflow-0. 上安装 tensorflow 8.0-cp34-cp34m-linux_x86_64.whl 在此平台上不受支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37425579/