python-build-standalone icon indicating copy to clipboard operation
python-build-standalone copied to clipboard

Cannot run official builds on Windows Server 2016 Datacenter

Open prescod opened this issue 4 years ago • 3 comments

I'm running on a remote VM with the following properties:

Windows Server 2016 Datacenter Version 1607 Intel Xeon Platinum 8175M CPU 8GM of RAM 64 bit operating system, x64-based processor

I download cpython-3.9.7-x86_64-pc-windows-msvc-shared-install_only-20211017T1616.tar.gz from your releases I untar it. I run "python\python.exe"

Error: "The application was unable to start correctly (0xc0000022). Click OK to close the application."

prescod avatar Nov 10 '21 01:11 prescod

The static builds DO run but then I have later problems with binary dependencies.

prescod avatar Nov 10 '21 02:11 prescod

Okay it turns out that this was caused by Windows permissions weirdness on DLL files. Not sure if this is worth documenting for future users.

Fixed with:

yes | cacls cci_installer /t /g Everyone:f

prescod avatar Nov 10 '21 02:11 prescod

I think this quirk should be documented in the official docs, if possible.

Are you willing to submit a PR, @prescod? (No problem if not.)

indygreg avatar Jan 17 '22 01:01 indygreg