11.25 开始学习
- 如何使用管理员权限运行cmd
- 在命令提示符中输入 where cmd 可查找文件所在位置
- 找到cmd文件,右键管理员身份运行即可。
2. 用第三方镜像源加快pip安装速度
- 豆瓣:http://pypi.douban.com/simple/
阿里云:http://mirrors.aliyun.com/pypi/simple/
- 使用方法:可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent
或 pip install gevent -i https://pypi.tuna.tsinghua.edu.cn/simple/
本文介绍如何通过管理员权限运行cmd以及使用第三方镜像源来加速pip安装过程。提供了包括豆瓣、清华和阿里云在内的多个镜像源,并详细说明了如何在pip命令中指定这些源。
3269

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



