Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/279.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 为树莓皮安装TensorFlow_Python_Tensorflow_Raspberry Pi - Fatal编程技术网

Python 为树莓皮安装TensorFlow

Python 为树莓皮安装TensorFlow,python,tensorflow,raspberry-pi,Python,Tensorflow,Raspberry Pi,我按照此链接为Raspberry Pi创建.whl包: 具体而言,我正在运行以下命令: tensorflow/tools/ci\u build/ci\u build.sh PI\tensorflow/tools/ci\u build/PI/build\u raspberry\u PI.sh PI\u ONE 我得到以下消息:“RuntimeError:Python 3.5或更高版本是必需的” 检查Python版本时,将提供以下信息: …~/tensorflow$python--version

我按照此链接为Raspberry Pi创建.whl包:

具体而言,我正在运行以下命令:

tensorflow/tools/ci\u build/ci\u build.sh PI\tensorflow/tools/ci\u build/PI/build\u raspberry\u PI.sh PI\u ONE

我得到以下消息:“RuntimeError:Python 3.5或更高版本是必需的”

检查Python版本时,将提供以下信息:

…~/tensorflow$python--version
Python 3.5.2

我如何解决这个问题

提前感谢,,
Gus安装蟒蛇。使用python 3.5创建一个env,激活它,然后运行脚本

感谢Sarath,Obayhan花时间帮助我解决这个问题。在经历了很多挫折之后,我决定将Ubuntu升级到20.04 LTS,并且一切都按照Tensorflow网站的规定运行。

为什么不直接使用pip呢?