Enter the following command on the cmd command line
pip install tensorflow==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
Since my cuda version is 10.2, the TensorFlow version I downloaded is 2.2.0.
If you want to download other versions, you can change 2.2.0 of the above command to the corresponding version number. If you want to download the GPU version, the command is as follows
pip install tensorflow-gpu==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple