耗时3小时,一直安装不成功,最后发现是需要用国内镜像。
一开始试了豆瓣的不行,最后尝试中国科技大学的镜像可以了。
pip install sphinx -i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn
参考:
1 [g]Python pip 国内镜像大全及使用办法,以及npm使用阿里镜像方法_madrabbit1987的博客-CSDN博客
耗时3小时,一直安装不成功,最后发现是需要用国内镜像。
一开始试了豆瓣的不行,最后尝试中国科技大学的镜像可以了。
pip install sphinx -i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn
参考:
1 [g]Python pip 国内镜像大全及使用办法,以及npm使用阿里镜像方法_madrabbit1987的博客-CSDN博客
本文标题:python通过pip安装Sphinx
本文链接:https://www.haomeiwen.com/subject/wrpwsktx.html
网友评论