HGStyle revised this gist 9 months ago. Go to revision
1 file changed, 3 insertions
pip-ssl-error-fixer.py(file created)
| @@ -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:]]) | |
Newer
Older