要解决TensorFlow在国内镜像安装不了的问题,可以尝试以下方法:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
pip install tensorflow-2.5.0-cp38-cp38-win_amd64.whl
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda install tensorflow
通过以上方法,应该可以解决TensorFlow在国内镜像安装不了的问题。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>