Skip to content

Commit 462ebbd

Browse files
committed
manylinux: Test installation with --user
To address: Installing collected packages: itk-core, itk-numerics, itk-io, itk-filtering, itk-segmentation, itk-registration, itk Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/opt/_internal/cpython-3.7.0/_skbuild' Consider using the `--user` option or check the permissions.
1 parent 58b5afa commit 462ebbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/internal/manylinux-build-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ done
144144

145145
# Install packages and test
146146
for PYBIN in "${PYBINARIES[@]}"; do
147-
${PYBIN}/pip install numpy
148-
${PYBIN}/pip install itk --no-cache-dir --no-index -f /work/dist
147+
${PYBIN}/pip install --user numpy
148+
${PYBIN}/pip install itk --user --no-cache-dir --no-index -f /work/dist
149149
(cd $HOME && ${PYBIN}/python -c 'from itk import ITKCommon;')
150150
(cd $HOME && ${PYBIN}/python -c 'import itk; image = itk.Image[itk.UC, 2].New()')
151151
(cd $HOME && ${PYBIN}/python -c 'import itkConfig; itkConfig.LazyLoading = False; import itk;')

0 commit comments

Comments
 (0)