mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 01:39:39 +08:00
change: set pypi index url to https://pypi.org/simple
This commit is contained in:
@@ -168,6 +168,7 @@ func InstallPythonPackage(python3 string, pkg string) (err error) {
|
||||
|
||||
// install package
|
||||
err = ExecCommand(python3, "-m", "pip", "install", "--upgrade", pkg,
|
||||
"--index-url", "https://pypi.org/simple",
|
||||
"--quiet", "--disable-pip-version-check")
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "pip install package failed")
|
||||
|
||||
Reference in New Issue
Block a user