最后活跃于 1 month ago

HGStyle 修订了这个 Gist 9 months ago. 转到此修订

1 file changed, 3 insertions

pip-ssl-error-fixer.py(文件已创建)

@@ -0,0 +1,3 @@
1 + import subprocess, sys
2 + cmd = "-m pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org".split(' ')
3 + subprocess.run([sys.executable, *cmd, *sys.argv[1:]])
上一页 下一页