参考https://github.com/tensorflow/tensorflow/issues/20271
$ conda create -n tf python=3.8 # create new env, with name "tf"
$ pip install -U pip # ensure new version available
$ conda activate tf
$ pip install -U tensorflow
$ conda install -c anaconda cudatoolkit=10.1.243 cudnn=7.6.5 # the important part - versions must match
$ pip install ipython