The short answer is that you should switch to Python 3.11 64-bit. You seem to be using 32-bit. 32-bit Windows is on the way out so it's often neglected. What happened here was lxml, a large library ...
AccessMode.mmap does not appear to work in pikepdf 6 #419 New issue Closed Closed ...