使用清华开源镜像安装tensorflow
安装tensorflow时,如果使用直接安装速度相对较慢,采取清华大学的镜像会提高速度。
GPU版本安装方法:
pip install tensorflow-gpu==2.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

CPU版本安装方法:
pip install tensorflow==2.2 -i https://pypi.tuna.tsinghua.edu.cn/simple

备注:安装的时候需要python是64位版本,32位版本则会报错

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐