1.安装Python环境(64位环境) 安装教程参考:https://www.cnblogs.com/xrainchen/articles/14093427.html

2.升级pip(如果已经是最新版本,忽略)

  升级问题:no module named pip 。可参考:https://www.cnblogs.com/xrainchen/articles/14097273.html

3.创建Python虚拟环境  参考:https://www.cnblogs.com/xrainchen/articles/14097354.html

1.安装虚拟环境 pip install -U virtualenv

2.设置虚拟环境

 

4.安装tensorflow(tensorflow目前只支持Python64位且支持版本只到3.5)

1.安装tensorflow  pip install --upgrade tensorflow

2.测试安装结果:

 

 安装问题:No matching distribution found for tensorflow   https://www.tqwba.com/x_d/jishu/6491.html

 a.降级安装 安装Python环境中可获取到2.7.18版本

 b.高版本安装方式  python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl

搭建TensorFlow开发环境

 3.No matching distribution found for tensorflow

 

 

4.安装jupyter
pip install jupyter
#安装jupyter的kernel
python -m ipykernel install --user --name=虚拟环境名称
#查看安装的kernel
jupyter kernelspec list
#打开jupyter notebook
jupyter notebook

基于Anaconda安装tensorflow https://www.cnblogs.com/ming-4/p/11516728.html

 

相关文章:

  • 2021-11-10
  • 2021-12-10
  • 2021-11-13
  • 2021-06-18
  • 2021-09-03
  • 2021-11-01
猜你喜欢
  • 2021-10-10
  • 2021-11-05
  • 2021-07-12
  • 2021-11-18
  • 2021-07-07
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案