pip install tensorflow-gpu==2.6.0 -i https://pypi.douban.com/simple tensorflow-gpu==2.6.0把这个改成你想下载的版本即可