Python installer: "A DLL required for this install to complete could not be run"

39,276

Solution 1

I had extraneous Python environment variables from previous installations. You should delete any Python environment variables and retry.

Solution 2

  • Run cmd.exe (run as administrator)

  • Go to Python's location (example: D:\python\) by changing the directory

  • Write msiexec /i filename.msi, e.g. msiexec /i python-3.4.1.amd64.msi

  • Then Enter

Share:
39,276

Related videos on Youtube

diffracteD
Author by

diffracteD

Updated on September 18, 2022

Comments

  • diffracteD
    diffracteD over 1 year

    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:

    enter image description here

  • Romeo Ninov
    Romeo Ninov about 8 years
    Can you please provide more details. One line answer do not count as good one.