Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Python 3.5 on Windows 10 #69532

Closed
GowthamNM mannequin opened this issue Oct 8, 2015 · 11 comments
Closed

Unable to install Python 3.5 on Windows 10 #69532

GowthamNM mannequin opened this issue Oct 8, 2015 · 11 comments
Labels
OS-windows performance Performance or resource usage

Comments

@GowthamNM
Copy link
Mannequin

GowthamNM mannequin commented Oct 8, 2015

BPO 25345
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @ArranMcC
Files
  • Python 3.5.0 (32-bit)_20151008230628.log: Error in seting up Python
  • Python 3.5.0 (32-bit)_20151107214149_000_core_JustForMe.log: JustForMe log
  • Python 3.6.4 (64-bit)_20180313115253.log: Download Error 0x80070652 Log File
  • Python 3.6.4 (64-bit)_20180319182314.log: Download Error 0x80070652 Log File 1.2
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-07-03.02:55:26.706>
    created_at = <Date 2015-10-08.17:41:08.888>
    labels = ['OS-windows', 'performance']
    title = 'Unable to install Python 3.5 on Windows 10'
    updated_at = <Date 2018-07-03.02:55:26.705>
    user = 'https://bugs.python.org/GowthamNM'

    bugs.python.org fields:

    activity = <Date 2018-07-03.02:55:26.705>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-03.02:55:26.706>
    closer = 'methane'
    components = ['Windows']
    creation = <Date 2015-10-08.17:41:08.888>
    creator = 'Gowtham NM'
    dependencies = []
    files = ['40721', '40975', '47481', '47494']
    hgrepos = []
    issue_num = 25345
    keywords = []
    message_count = 11.0
    messages = ['252563', '252565', '254286', '254288', '313742', '313754', '314110', '314112', '314117', '314155', '314196']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'Gowtham NM', 'Gowtham N.M', 'ArranM']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue25345'
    versions = ['Python 3.5']

    @GowthamNM
    Copy link
    Mannequin Author

    GowthamNM mannequin commented Oct 8, 2015

    I downloaded Python 3.5 version to install on Windows 10. But apparently, the installation does not succeed.
    I have tried with lower version of Python also, the installation does not succeed on Windows 10.

    Have attached the logs of the error. I have checked for the particular error code (seen in the screenshot attached) in various forums but none worked.

    Looking forward to hear from your team.

    @GowthamNM GowthamNM mannequin added OS-windows performance Performance or resource usage labels Oct 8, 2015
    @eryksun
    Copy link
    Contributor

    eryksun commented Oct 8, 2015

    Please attach "Python 3.5.0 (32-bit)_*_core_JustForMe.log", if it exists.

    According to the log, initially the installer can't create a restore point because, I assume, you have the volume shadow copy (VSS) service disabled, i.e. the error code is ERROR_SERVICE_DISABLED (0x80070422). That shouldn't derail the installation, but it's unusual to disable this service since restore points are critically important in case something goes wrong while modifying the system.

    Next, installing core.msi fails with the error code ERROR_INSTALL_ALREADY_RUNNING (0x80070652). This means you had an existing installation in progress. Check for running instances of msiexec.exe. If the existing installation process is hung, try installing Python 3.5 again after rebooting.

    @GowthamNM
    Copy link
    Mannequin Author

    GowthamNM mannequin commented Nov 7, 2015

    Hi Eryksun,

    I have attached the appropriate log as requested by you. I still get the same installation error even after following the workaround suggested by you.

    @zooba
    Copy link
    Member

    zooba commented Nov 7, 2015

    It sounds like something went wrong during a previous installation (probably not Python 3.5) and your system is stuck in an "installing" state (hence system restore being disabled and the install mutex being held).

    Those two logs are a month apart but the error remains. I assume you've installed Windows updates and rebooted during that time? That should have cleared up the state, but maybe you haven't been getting updates either?

    @ArranMcC
    Copy link
    Mannequin

    ArranMcC mannequin commented Mar 13, 2018

    I'm also having this problem on Windows 10 with Python 3.6.4, and previous versions of Python. Every time I try to install Python, I get error 0x80070652. Rebooting doesn't help. I've attached my log file in case that helps as I don't know how to interpret it. Was a solution found?

    @zooba
    Copy link
    Member

    zooba commented Mar 13, 2018

    Arran - I think yours is a different issue. There should be some other log files near the one you shared that I'll need to see to find what's going wrong. Can you zip up all the Python ones and attach them here?

    @ArranMcC
    Copy link
    Mannequin

    ArranMcC mannequin commented Mar 19, 2018

    Hi Steve, thanks for the reply. I tried the download again and got the same error with a slightly different log file, hopefully that will help identify the problem. Apart from that, I don't know of any other Python log files, there's no others in the same folder and I can't find others elsewhere. The full error message reads: 'Another installation is already in progress. Complete that installation before proceeding with this install.'

    @zooba
    Copy link
    Member

    zooba commented Mar 19, 2018

    Arran - I think you have something else going wrong with your machine. There is nothing we do to cause multiple installs to start at the same time, and if rebooting does not help then I have to assume you have some permanently corrupt state.

    Have you installed Windows Updates recently? I would expect that updates will either fail (and may be able to recover better than a 3rd-party installer) or succeed and clear the state.

    @ArranMcC
    Copy link
    Mannequin

    ArranMcC mannequin commented Mar 19, 2018

    Yes there have been various Cumulative Updates and Security Updates in the past few months, the most recent five days ago. Last features update was successfully installed in December. Update Status: Your device is up to date. Last checked today, 09:14.
    I certainly agree that it's a machine issue, although it's strange that I'm still able to install windows updates, notepads, video editors etc without problems. I just tried to install Java - and got a similar error. According to the Java error, msiexec.exe is currently processing another installation. It seems to only be a problem when attempting to install programming languages. Could a clean boot help? I saw that recommended somewhere.

    @zooba
    Copy link
    Member

    zooba commented Mar 20, 2018

    Yeah, very strange that only some MSIs are being affected by this error. They no doubt have something in common.

    If by clean boot you mean reinstalling Windows, then yes, that fixes most issues, but it is pretty drastic :)

    I don't actually have any good recommendations for fixing Windows Installer problems... there used to be a troubleshooting tool available, but I'm not sure where it's gone. All the best advice I can find online these days basically just says to reinstall, but you could try System Restore first (and it may even help to create a new restore point and then restore to it - I suspect that will reset some state without losing anything you installed recently).

    Without full access to your machine and much better installer diagnostic skills than I have there's nothing else I can offer, sorry.

    @ArranMcC
    Copy link
    Mannequin

    ArranMcC mannequin commented Mar 21, 2018

    No problem Steve, I found the solution! I downloaded 'Windows Repair' from tweaking.com, and then used it to repair only the MSI installer. So I've now installed Python correctly. Thanks again for your help!

    @methane methane closed this as completed Jul 3, 2018
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    OS-windows performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants