当前位置:网站首页>如何设置pip安装的国内源
如何设置pip安装的国内源
2022-08-11 05:14:00 【LateLinux】
国内PIP安装源
永久设置
- 用户目录下新建一个“.pip”目录
- 在目录下新建一个pip.conf文件
[email protected]:/$ cd ~
[email protected]:~$ mkdir .pip
[email protected]:~$ cd .pip/
[email protected]:~/.pip$ sudo nano pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
# https://pypi.mirrors.ustc.edu.cn/simple/
# http://pypi.mirrors.ustc.edu.cn/simple/
# http://mirrors.aliyun.com/pypi/simple/
# http://pypi.douban.com/simple/
边栏推荐
猜你喜欢
redis分布式锁
宝塔Linux环境下redis开启多端口
ESP8266 教程3 — 通过TCP组建局域网并通信
第二篇 DS5 Armv8 样例工程报错之GCC编译
【Redis】Redis 的安装及图形化界面 Redis DeskTop Manager 的安装与使用
Delphi7 learning record - demo example
HAVE FUN | "SOFA Planet" spacecraft plan, the latest progress of source code analysis activities
Django--20实现Redis支持、上下文以及上下文和接口的交互
Linux中安装redis
Configure checkstyle in IDEA
随机推荐
Day38 LeetCode
ARM Architecture 4: Embedded Hardware Platform Interface Development
[Embedded open source library] The use of cJSON, an efficient and streamlined json parsing library
for循环使用多线程优化
StarUML使用心得
Idea 2021.3.3版本文件目录展开
@Resource和@Autowired的区别
[Embedded open source library] The use of MultiButton, an easy-to-use event-driven button driver module
Mysql introductory exercise
Oracle中如何用一个表的数据更新另一个表中的数据_转载
面试宝典二:nlp常见知识点
玩转mysql之查看mysql版本号
Redis details
代码在线审查(添加网页批注)的实现
guava RateLimiter均匀限流
Tips to improve your productivity, you have to know - Navitcat shortcuts
Flask框架学习:模板继承
面试题整理
CentOS7静默安装Oracle11g_转载
pytorch和tensorflow函数对应表