标签: 镜像加速

  • 国内PIP安装加速 临时和永久设置镜像的方法

    国内PIP安装加速 临时和永久设置镜像的方法

    永久加速PIP安装速度

    mkdir ~/.pip
    echo -e "\n[global]\ntimeout = 6000\nindex-url = https://pypi.tuna.tsinghua.edu.cn/simple\n[install]\ntrusted-host = pypi.tuna.tsinghua.edu.cn\n#extra-index-url=https://www.piwheels.org/simple">~/.pip/pip.conf

    验证一下

    cat ~/.pip/pip.conf

    临时加速PIP安装速度

    pip install email_validator pdfkit pdfminer -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host tuna.tsinghua.edu.cn
奇客罗方公众号 奇客罗方小程序 奇客罗方客服 ITGeeker Telegram

网站由ITGeeker技术奇客开发并管理;隶属于GeekerCloud奇客罗方智能科技
Site designed and developed by ITGeekerwhich is a sub-website of GeekerCloud
网站地图 | 沪ICP备2021031434号-4