[Bug 6910] New: Can not install Mercurial on Windows using pip

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Sep 5 12:07:55 UTC 2024


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

            Bug ID: 6910
           Summary: Can not install Mercurial on Windows using pip
           Product: Mercurial
           Version: 6.8.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: packaging
          Assignee: bugzilla at mercurial-scm.org
          Reporter: mr.dmitry.sokolov at gmail.com
                CC: durin42 at gmail.com, mercurial-devel at mercurial-scm.org
    Python Version: ---

pip install mercurial

ImportError: cannot import name 'msvccompiler' from 'distutils'
(...\overlay\Lib\site-packages\setuptools\_distutils\__init__.py). Did you
mean: '_msvccompiler'?



setup.py has incorrect import on line 1665, to fix it:

-    from distutils import msvccompiler
+    from distutils import _msvccompiler as msvccompiler

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


More information about the Mercurial-devel mailing list