用 pip 安裝包時,出現(xiàn)了如下的問題,版本是 Python3.7:
pip install web.py==0.40dev1
查知是因?yàn)楦甙姹镜?Python 會對目標(biāo)網(wǎng)站的 SSL 證書進(jìn)行驗(yàn)證,添加 --trusted-host domain
繞過即可
解決參考:pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org web.py==0.40dev0