I just installed Python3.10.1 from the Windows10 App Store. Showing help is OK
python -m venv --help
actually creating a venv is not
python -m venv venv
# -> Error 1260: Windows cannot open this program because it has been prevented by a software restriction policy
I guess it is those exe files generated on Windows when creating a venv (btw --symlinks does not help).
Is there any way to create a virtual environment without some admin/AppLocker rights?
More insights: The command actually does create the following structure
venv
│ pyvenv.cfg
│
├───Include
├───Lib
│ └───site-packages
└───Scripts
python.exe
pythonw.exe
But site-packages is empty, independent of whether we choose --system-site-packages or not.