File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR pyth
5050
5151echo " Upgrading PIP..."
5252./python -m ensurepip
53- ./python -m pip install --ignore-installed pip
53+ ./python -m pip install --ignore-installed pip --no-warn-script-location
5454
5555echo " Create complete file"
5656touch $PYTHON_TOOLCACHE_VERSION_PATH /x64.complete
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ if ($LASTEXITCODE -ne 0) {
123123
124124Write-Host " Install and upgrade Pip"
125125$PythonExePath = Join-Path - Path $PythonArchPath - ChildPath " python.exe"
126- cmd.exe / c " $PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip"
126+ cmd.exe / c " $PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip --no-warn-script-location "
127127
128128Write-Host " Create complete file"
129129New-Item - ItemType File - Path $PythonVersionPath - Name " $Architecture .complete" | Out-Null
You can’t perform that action at this time.
0 commit comments