Can't install package (could not open 'PyInstaller\bootloader\Windows-32bit\runw.exe': Invalid argument error) #3813
I had a problem yesterday when the IT deparment reactivated some group policies on my Windows client, that deny running executibles from some folder (i.e. user folder where my pyCharm projects are located). I removed them, with no success as usual. At some point I tried to reinstall pyinstaller but I'm always running into the same error (see below).
I tried this on a fresh installation of 32bit 3.7.0 python and also on 64bit 3.7.1rc1 python. Same problem with my existing 3.6 version. Also, this occurs with the latest development version.
I tried installing the package also from an elevated shell, with the same result. I also deactivated my anti-virus protection...
I honestly don't believe, that this is a bug within pyinstaller's setup script, nevertheless can be wrong on this. Can somebody check, if this is a problem within pyinstaller or, if not, provide some help on how to get things working again?
I attached a console log below. Thanks for the help!
Pip verbose output: https://pastebin.com/A0LjEK4D
Installation fails here:
This looks like an error in setuptools or pip. Unfortunately the trace does not say more then "Invalid argument".
I'm seeing the exact same thing in a new docker based install.
After an initial checkout,
After waiting? or running setup build a few times, the file eventually disappears:
If the file is deleted, i.e. not there, setup build finally succeeds.
I haven't looked into the PyInstaller build process. Is the deletion of files in the source distribution during the build by design or is this an accident? If it is by design.. there seems to be some kind of race condition related to the deletion of