安装tensorflow

安装tensorflow

  1. 安装tensorflow一般来说先安装anaconda3比较快
  2. https://www.bilibili.com/video/BV1NQ4y1T7vA?from=search&seid=2250451853369399385安装anaconda
  3. conda create -n tf python=3.6 创建一个python环境
  4. 激活python环境:$ conda activate tf 或者 $ source activate tf
  5. 选怎各种tensorflow版本:https://blog.csdn.net/qq_41683065/article/details/108702408
  6. pip install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
  7. 退出python环境:$ conda deactivate 或者 source deactivate
  8. 删除创建的python环境:$ conda remove -n tf --all

安装jupyter

在建立好的环境下,运行:

  1. pip install jupyter
  2. python -m ipykernel install --user --name=tf2 (这个tf2就是我们环境的名字)
  3. 打开就是直接使用jupyter notebook

安装Pandas

直接pip install pandas

安装numpy

其实只要anaconda3安装好了,numpy就随之而安装完毕,不需要额外pip install numpy

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值