[Bug 6635] New: "Failed to load Python DLL python39.dll

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jan 18 18:33:24 UTC 2022


https://bz.mercurial-scm.org/show_bug.cgi?id=6635

            Bug ID: 6635
           Summary: "Failed to load Python DLL python39.dll
           Product: Mercurial
           Version: stable branch
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: mhentges at mozilla.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

### To reproduce:

1. Install Python from python.org [1]
2. Ensure that "Add Python 3.9 to PATH" is unchecked (default behaviour)
3. Open Powershell
4. `py -m pip install --user mercurial`
5. `hg version`

```
C:\dev> py -m pip install --user mercurial
Collecting mercurial
  Using cached mercurial-6.0.1-cp39-cp39-win_amd64.whl (4.8 MB)
Installing collected packages: mercurial
Successfully installed mercurial-6.0.1
C:\dev> hg version
abort: failed to load Python DLL python39.dll
```

### Workaround

Checking the "Add Python 3.9 to PATH" option during installation resolves this
issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list