| @@ -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:]]) | |
HGStyle / pip-ssl-error-fixer.py
Last active 3 months ago
HGStyle revised this gist 11 months ago · 9bd6d83
1 file changed, 3 insertions