1:安装anaconda。anaconda下载链接:https://www.anaconda.com/products/individual#windows。选择python3.8的64-bit的windows版本
2:安装完成anaconda之后,创建python3.6的运行环境conda create -n tensorflow python=3.6(默认python3.8的,当然也可以创建python其它版本运行环境)
3:安装tensorflow。To install the current release, which includes support for CUDA-enabled GPU cards (Ubuntu and Windows):
pip install tensorflow
或者A smaller CPU-only package is also available:
pip install tensorflow-cpu
或者去官网下载whl文件。官网地址:https://pypi.org/project/tensorflow/2.3.0/#modal-close
pip install tensorflow "path.whl"
如果超时,下载失败,可以把默认超时延长,如:
pip --default-timeout=1000 install -U install D:\python_whl\tensorflow-2.3.0-cp36-cp36m-win_amd64.whl
tensorflow学习网站:http://c.biancheng.net/view/1880.html
git地址:https://github.com/tensorflow/tensorflow
官网地址:https://pypi.org/project/tensorflow/2.3.0/#modal-close
https://pypi.org/project/
https://pypi.org/project/scipy/1.4.1/#files
https://pypi.org/project/tensorflow/2.3.0/#modal-close