公式:
pip install -i 镜像链接 模块
使用清华镜像安装scrapy模块
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple scrapy
镜像链接可以是:
清华镜像:https://pypi.tuna.tsinghua.edu.cn/simple
豆瓣镜像:http://pypi.douban.com/simple
阿里云镜像:http://mirrors.aliyun.com/pypi/simple