修改镜像源 直接修改pip:新建pip.ini文件,内容为[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple 直接修改conda:执行命令conda config --add channels https://mirrors.tuna.t Python 23 次浏览 2024-04-27
pip豆瓣镜像源 pip 的国内源用豆瓣的还挺顺手的,是装包速度一下就快多了,不用再等半天看小点点滚动。豆瓣的源地址是 https://pypi.doubanio.com/simple/,用起来也稳。临时用法简单,加个 -i 参数就行,像这样:pip install 包名 -i https://pypi.douban Python 0 次浏览 2025-06-12