用pip安装模块的时候经常中断或者太慢
下面是用清华镜像下载
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 模块名
比如更新tensorflow
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow --upgrade
本文介绍了解决pip安装模块速度慢的问题,通过使用清华镜像源来加速下载过程。详细展示了如何设置镜像源并以更新TensorFlow为例进行说明。
用pip安装模块的时候经常中断或者太慢
下面是用清华镜像下载
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 模块名
比如更新tensorflow
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow --upgrade
您可能感兴趣的与本文相关的镜像
TensorFlow-v2.15
TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型
477
1万+
5140

被折叠的 条评论
为什么被折叠?