Python installer: "A DLL required for this install to complete could not be run"
I am on Windows 7 x64, trying to install Python 2.7.5 or 3.3.2. But I'm continuously getting an error showing:
There is a problem with this Windows installer package. A DLL required for this install to complete could not be run. Contact your package vendor.
I have freshly downloaded the installer package from Python.org several times but it is giving the same error repeatedly.
Here is a picture of the error message as it appears while installing:
Solution 1:
I think this might work:
- Go to
C:/Users/XXX/AppData/Local/Temp
or simply%LocalAppData%/Temp
. - Go to
Properties
→Security
- Change permission level for everyone to FULL ACCESS.
Solution 2:
Run
cmd.exe
(run as administrator)Go to Python's location (example:
D:\python\
) by changing the directoryWrite
msiexec /i filename.msi
, e.g.msiexec /i python-3.4.1.amd64.msi
Then Enter
Solution 3:
I had extraneous Python environment variables from previous installations. You should delete any Python environment variables and retry.