https://bz.mercurial-scm.org/show_bug.cgi?id=6369
Bug ID: 6369 Summary: mercurial setup on win can't find msvc 14, but have msvcredist 15,17 Product: Mercurial project Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED Severity: bug Priority: wish Component: infrastructure Assignee: bugzi...@mercurial-scm.org Reporter: alexraynepe...@gmail.com CC: kbullock+mercur...@ringworld.org, mercurial-devel@mercurial-scm.org try to setup mercurial last mercurial for py3.8 on win8. pip loads rev5.4.2, and setup fails with reclaims msvc 14. But i have instaled MS redists 13, 15, 17 in system. Is claim of msvc14 - hard? ver15, 17 not apropriates? ``` (venv.py38) D:\projects\hg\thg\thg.work>pip3 install mercurial Collecting mercurial Downloading mercurial-5.4.2.tar.gz (7.7 MB) |████████████████████████████████| 7.7 MB 6.4 MB/s ERROR: Command errored out with exit status 1: command: 'D:\projects\hg\thg\thg.work\venv.py38\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\netuser\\AppData\\Local\\Temp\\pip-install-mjptbbiy\\mercurial\\setup.py'"'"'; __file__='"'"'C:\\Users\\netuser\\AppData\\Local\\Temp\\pip-install-mjptbbiy\\mercurial\\setup.py'"'"';f=getat tr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exe c(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\netuser\AppData\Local\Temp\pip-pip-e gg-info-gxd5g736' cwd: C:\Users\netuser\AppData\Local\Temp\pip-install-mjptbbiy\mercurial\ Complete output (13 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\netuser\AppData\Local\Temp\pip-install-mjptbbiy\mercurial\setup.py", line 1532, in <modul e> zstd = setup_zstd.get_c_extension( File "contrib/python-zstandard\setup_zstd.py", line 163, in get_c_extension compiler.initialize() File "c:\python38\lib\distutils\_msvccompiler.py", line 224, in initialize vc_env = _get_vc_env(plat_spec) File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\setuptools\msvc.py", line 314, in msvc14_g et_vc_env return _msvc14_get_vc_env(plat_spec) File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\setuptools\msvc.py", line 268, in _msvc14_ get_vc_env raise distutils.errors.DistutilsPlatformError( distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools f or Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output ``` -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel