Python 永久换源

Python永久换源

pip config set global.index-url https://pypi.douban.com/simple

源地址:

# 腾讯
http://mirrors.tencentyun.com/pypi/simple
# 阿里
https://mirrors.aliyun.com/pypi/simple
# 豆瓣
https://pypi.douban.com/simple
# 中科大
https://pypi.mirrors.ustc.edu.cn/simple/
# 清华
https://pypi.tuna.tsinghua.edu.cn/simple

报错

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

 

posted @ 2023-01-20 20:03  小鱼圆又圆  阅读(232)  评论(0)    收藏  举报