Skip to content

Commit 85d019e

Browse files
thewtexhjmjohnson
authored andcommitted
BUG: Run Window Python package build as administrator
Attempt to work around error: removing '_skbuild\win-amd64-3.5\cmake-install' removing '_skbuild\win-amd64-3.5\cmake-build' error: [WinError 5] Access is denied: '_skbuild\\win-amd64-3.5\\cmake-build\\_deps\\proxtv_fetch-src\\.git\\objects\\pack\\pack-e2e9289da314c7416a62936045dee9c6bdf7736a.idx' SCRIPT_DIR: C:\P\IPP\scripts%
1 parent 01a499f commit 85d019e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
set ITK_PACKAGE_VERSION=$(ITKPythonGitTag)
211211
set CC=cl.exe
212212
set CXX=cl.exe
213-
powershell.exe -file .\windows-download-cache-and-build-module-wheels.ps1
213+
Start-Process powershell.exe -Verb Runas -ArgumentList "-File .\windows-download-cache-and-build-module-wheels.ps1"
214214
displayName: 'Build Python packages'
215215
216216
- task: PublishPipelineArtifact@0

0 commit comments

Comments
 (0)