centos8下安装tensorflow

首先要安装python

#dnf install python3

 

然后安装编译器:

#yum install python3-devel
#yum install gcc-c++
#yum install pcre pcre-devel
#yum install zlib zlib-devel
#yum install openssl openssl--devel

 

最后安装tensorflow

#pip3 install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple 

 

安装过程中

Running setup.py bdist_wheel for grpcio - 会非常慢, 像卡住了一样. 不过不用着急, 这是系统在进行编译

 

最好安装好的

 

posted @ 2020-08-08 20:57  Montai  阅读(509)  评论(0编辑  收藏  举报