ubuntu16.04安装 anaconda,tensorflow(python3.7.0)

1 . Please make sure that your anaconda , python, and tensorflow have the right versions. Anaconda5.3 with python3.7 is recommended.

version of anaconda and python: https://blog.csdn.net/yuejisuo1948/article/details/81043823

version of tensorflow and python:https://blog.csdn.net/qq_39146122/article/details/106449852

2. Download anaconda5.3.0 with python 3.7.0

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

3. Install anaconda. Get into the download path and run:

bash Anaconda3-5.3.0-Linux-x86_64.sh

(enter yes except the last question )

source ~/.bashrc

4. Download tensorflow1.14

https://pypi.org/project/tensorflow/#files

5. Install tensorflow. Get into the download and run :

pip install tensorflow-1.14.0-cp37-cp37m-manylinux1_x86_64.whl

Then got errors:

distributed 1.23.1 has requirement click>=6.6, but you'll have click 6.2 which is incompatible. (solved by : pip install --upgarde click )

Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

(solved by : pip install -U --ignore-installed wrapt enum34 simplejson netaddr )

At last, run pip install tensorflow-1.14.0-cp37-cp37m-manylinux1_x86_64.whl again.

 

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值