Title: Windows: Python 3.5.2 won't install on my computer
Type: behavior Stage:
Components: Installation, Windows Versions: Python 3.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Rhesa Browning, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-12-15 22:25 by Rhesa Browning, last changed 2017-01-03 14:10 by vstinner.

File name Uploaded Description Edit
Python installation archive.rar Rhesa Browning, 2016-12-15 22:25 RAR with Python install logs
Messages (5)
msg283346 - (view) Author: Rhesa Browning (Rhesa Browning) Date: 2016-12-15 22:25
When I install Python, I get an error message saying that the python35.dll file doesn't exist on my computer. That is at far as it goes.  I have attached a RAR folder with the logs from the times I tried to install.
msg283351 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-12-15 22:56
It looks like you have a partial install there, possibly from an earlier version.

Do you see a "Python" entry in Programs and Features? If so, running a Repair on that may help, or removing it.

If you don't see another entry there, installing Python without tcl/tk support (which seems to be breaking when it gets up to doing shortcuts) and without pip support may get you to the end of an install, at which point you can run a repair that should bring back the missing files.

As a last resort, running these commands from the command line might also help clean things up:

msiexec /x {EB0611B2-7F10-4D97-BCF2-DCAAB1199498}
msiexec /x {5DB2183B-62D3-407F-BBC1-EAD2F36283FA}

If you get as far as running these, I'd keep running them repeatedly until you start getting errors (this is to make sure you aren't decreasing a reference count from 3 to 2 - we want it to go all the way to 0).
msg283352 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-12-15 22:57
(For anyone who comes here later, those last two commands are specially crafted for this situation based on the attached log files. You'll likely need different commands for whatever your situation is.)
msg283358 - (view) Author: Rhesa Browning (Rhesa Browning) Date: 2016-12-16 01:20
I went through your instructions without any improvement.  I first uninstalled the program.  Then I reinstalled without the items that you listed the tcl/tk and pip.  The error message still came up just like before.  Then I typed the two programs you gave me into the command prompt.  A message asked me for permission to uninstall the program, which I accepted.  Then I got an error message that said the program only works for products that are already installed.

If I try to open python now, I get the same error message "The program can't start because python35.dll is missing from your computer."
msg284213 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-12-28 23:45
Apologies for the delayed response - I haven't been going through bugs recently.

If you're still having trouble, please try uninstalling and then running the commands above. After that, try reinstalling. (Those are uninstall commands that should fix the problem of it not-quite-uninstalling. If you run them after installing, you will definitely corrupt your installation.)
Date User Action Args
2017-01-03 14:10:55vstinnersettitle: Python 3.5.2 won't install on my computer -> Windows: Python 3.5.2 won't install on my computer
2016-12-28 23:45:38steve.dowersetmessages: + msg284213
2016-12-16 01:20:55Rhesa Browningsetmessages: + msg283358
2016-12-15 22:57:30steve.dowersetmessages: + msg283352
2016-12-15 22:56:33steve.dowersetmessages: + msg283351
2016-12-15 22:34:36eryk sunsetnosy: + paul.moore, tim.golden, zach.ware, steve.dower
type: performance -> behavior
components: + Installation, Windows
2016-12-15 22:25:42Rhesa Browningcreate