Python install immediately fails

Posted by ricknak on 2017-05-18 15:46

I had AP installed and running just fine. I d/l'ed 2715, and tried to install it after uninstalling 2714 and rebooting. I removed c:\python27 completely.

All options (Typeical, Custom and Complete) immediately exit with an error and no system changes. I d/l'ed another copy, and it is identical to the first copy.

I obtained another copy of 2714, but it likewise ends prematurely with an unknown error.

Any suggestions? There is plenty of disk space, so that's not the problem.

ActiveState Staff
Fri, 2017-05-19 23:30

One thing I can think of is are you installing it in admin mode or regular user mode?

There should be an installer log located at this location when you install. If you open it, what error messages are in it?

ActiveState Staff
Mon, 2017-05-22 08:20

I'd like to confirm how much disk space is on your system. The reason I ask is because First Class is much bigger than regular ActivePython as it contains 200+ more packages. It's mysterious that installing 2714 is also failing.

If you have a virus scanner that is running, does temporarily disabling it help? Some virus scanners block installation to protect the system.

Also, if there's no log, one thing you can try is enable logging. This article from Microsoft has points on how to enable logging when installing. Please take extreme care as it requires modifying the registry:
What I would strongly advise is to backup your registry before modifying it.

ActiveState Staff
Tue, 2017-05-23 13:07

I'm assuming that you're either installing ActivePython on Win 7 or Win 10. But if not, which Windows are you using?

Were there any Windows updates that were added between when 2714 worked and when 2714 & 2715 are now not working? If so, what were they?

Googling around, this type of error can happen if the Windows Scripting Host got corrupted. When I try to install 2715, I have no problems.

I got no confirmation if there was a virus scanner on your system and if disabling helped? Also is the virus scanner set to block vbscript? The installer needs it enabled in order to run.

Advanced Installer also has a suggestion to what to check and try:

This is a bit of a longshot, but could your system possibly be infected with a virus? Viruses can prevent programs from behaving properly.