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

Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit #88149

Closed
Marwan mannequin opened this issue Apr 30, 2021 · 12 comments
Closed

Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit #88149

Marwan mannequin opened this issue Apr 30, 2021 · 12 comments
Labels
3.9 only security fixes topic-installation type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@Marwan
Copy link
Mannequin

Marwan mannequin commented Apr 30, 2021

BPO 43983
Nosy @terryjreedy, @pfmoore, @tjguk, @zware, @zooba, @iritkatriel, @shreyanavigyan
Files
  • Python 3.9.4 (64-bit)_20210430053233.log
  • logs.rar
  • 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 2021-09-11.10:59:06.322>
    created_at = <Date 2021-04-30.03:56:37.885>
    labels = ['expert-installation', '3.9', 'type-crash']
    title = "Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit"
    updated_at = <Date 2021-09-11.10:59:06.321>
    user = 'https://bugs.python.org/Marwan'

    bugs.python.org fields:

    activity = <Date 2021-09-11.10:59:06.321>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-11.10:59:06.322>
    closer = 'iritkatriel'
    components = ['Installation']
    creation = <Date 2021-04-30.03:56:37.885>
    creator = 'Marwan'
    dependencies = []
    files = ['50000', '50003']
    hgrepos = []
    issue_num = 43983
    keywords = []
    message_count = 12.0
    messages = ['392378', '392533', '392560', '392561', '392691', '392703', '392710', '392712', '392716', '392741', '392785', '401637']
    nosy_count = 8.0
    nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'iritkatriel', 'shreyanavigyan', 'Marwan']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue43983'
    versions = ['Python 3.9']

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented Apr 30, 2021

    Hello,
    While I was trying to install Python version 3.9.4 on Windows 10 64bit, Error 0x80070643 - Fatal error during installation is showing, with a message saying " install the process cannot access the file because another process has locked a portion of the file",

    Note: There was an older version of Python installed on my laptop in 2018, but a while ago i did a system format, but some of the .XMl and .py files still there ( i don't know if that's the case)

    Core_AllUsers (https://pastebin.com/iAZGTrkx)

    @Marwan Marwan mannequin added 3.9 only security fixes topic-installation type-crash A hard crash of the interpreter, possibly with a core dump labels Apr 30, 2021
    @terryjreedy
    Copy link
    Member

    The error message suggests somethng else is using something in an existing 3.9 directory, and that you should close everything and reboot your machine and try again without running anything else.

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented May 1, 2021

    Hello Terry, thank you for replying.
    I tried many times to reboot and no luck.
    Also i noticed that when i tried to install an older version like Python 2 the installation done without errors.

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented May 1, 2021

    Also if you are talking about the location of installation, i tried to install it in somewhere else and still not working

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented May 2, 2021

    Can someone help please, i need it in my project

    @zooba
    Copy link
    Member

    zooba commented May 2, 2021

    Hi Marwan

    If you look in your %TEMP% directory for the log file you attached, you'll find some more similar log files. Could you attach those as well? One of them will have the actual issue in it.

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented May 2, 2021

    Done, i uploaded a rar with all the log files in %TEMP%

    @shreyanavigyan
    Copy link
    Mannequin

    shreyanavigyan mannequin commented May 2, 2021

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented May 2, 2021

    Hello Shreyan,
    unfortunately still not working, I tried all the solutions and none worked. still showing the same error.

    @zooba
    Copy link
    Member

    zooba commented May 2, 2021

    This is the full error message (and sorry I just saw that you put it on pastebin in the first post).

    MSI (s) (18:04) [13:13:04:342]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{1C17C2CE-B315-4C1C-885A-E37181C7368E}
    MSI (s) (18:04) [13:13:04:342]: Note: 1: 2203 2: C:\Windows\Installer\SourceHash{1C17C2CE-B315-4C1C-885A-E37181C7368E} 3: -2147023504
    MSI (s) (18:04) [13:13:04:342]: SECREPAIR: Error in CreateDatabase for write
    MSI (s) (18:04) [13:13:04:342]: SECUREREPAIR: SecureRepair Failed. Error code: 89b55C5DDD8

    This file isn't ours, so there's nothing we can do. You could try running some of the builtin troubleshooters, or perhaps the "sfc /scannow" command (in an elevated prompt) might help. It's possible that you have an aggressive antivirus or admin policy that you may be able to disable. Otherwise, for a corrupt install database, I'd guess you're looking at a Windows reset/reinstall.

    If you have any success, please let us know what worked. If it turns out to be something within our control, we can try and make a change, but I suspect it'll just be handy to know for next time someone hits an issue like this.

    @Marwan
    Copy link
    Mannequin Author

    Marwan mannequin commented May 3, 2021

    Hello Steve

    I did a Windows format and now I can successfully install Python, Thanks for helping

    @iritkatriel
    Copy link
    Member

    Thanks for the update Marwan. I'm closing because there doesn't seem to be any followup possible on our side.

    @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
    3.9 only security fixes topic-installation type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants