我安装了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.
答案 0 :(得分:0)
这个问题与我在https://askubuntu.com/q/778698/15003上询问Ubuntu的问题相同:
目前,根据https://github.com/tensorflow/tensorflow/issues/2188#issuecomment-216186066,解决方案是下载并重命名滚轮并使用重命名的滚轮进行安装:
#ifndef ELEMENT_H
#define ELEMENT_H
#include <iostream>
class Element
{
public:
Element();
private:
int id, position_x, position_y, pixel_x, pixel_y, width, height;
Element *parent;
std::vector<Element *> child;
};
#endif // ELEMENT_H
如果您愿意稍等一下,根据https://github.com/tensorflow/tensorflow/issues/2188#issuecomment-220363241,Python 3.5的轮子很快就会出来。