认识TensorFlow官网
TensorFlowhttps://www.tensorflow.org/install然后正常安装
支持的系统
- Python 3.6–3.9
- Ubuntu 16.04 或更高版本
- Windows 7 或更高版本(含 C++ 可再发行软件包
- macOS 10.12.6 (Sierra) 或更高版本(不支持 GPU)
python安装
# Requires the latest pip pip install --upgrade pip # Current stable release for CPU and GPU pip install tensorflow###################################################################### 这里默认的你只能用python3.6以及以下安装使用 Python报错ERROR:ERROR: Could not find a version that satisfies the requirement tensorflow_是杰夫呀的博客-CSDN博客 这种其实并不可取,版本变更会造成更多不可预料的情况 解决方案: tensorflow-text · PyPIhttps://pypi.org/project/tensorflow-text/#files 下载对应的windows64位 3.7以及以上支持 可以本地安装 一定要是64位python,踩雷如下
C:WindowsSystem32>python3
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
# Or try the preview build (unstable) pip install tf-nightly



