easybuild-easyblocks icon indicating copy to clipboard operation
easybuild-easyblocks copied to clipboard

ignore user python packages by using `-s` option when running Python code via `python -c`

Open Flamefire opened this issue 1 year ago • 1 comments
trafficstars

To avoid the user environment (Python packages installed to $HOME/lib/python*) pass -s to all invocations of python -c.

Flamefire avatar Sep 11 '24 08:09 Flamefire

@Flamefire Also here, we should add a check to the test suite to avoid that use of python -c without -s is introduced again going forward...

boegel avatar Sep 11 '24 17:09 boegel