Dockerfile pip3 install cannot assign requested address 临时使用国内镜像可解决 1pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspider 参考https://www.cnblogs.com/developer-ios/p/7628733.html docker #docker Dockerfile pip3 install cannot assign requested address http://yojayc.github.io/2021/09/10/Dockerfile-pip3-install-cannot-assign-requested-address/ 作者 Truman 发布于 2021年9月10日 更新于 2026年4月5日 许可协议 Dockerfile安装python3.7 上一篇 Dockerfile unable to access ‘.git/‘: Failed to connect to gitlab.com 下一篇