easy_install error on Windows 7
Steve Borho
steve at borho.org
Sun Dec 27 11:02:20 CST 2009
On Sun, Dec 27, 2009 at 5:33 AM, Mads Kiilerich <mads at kiilerich.com> wrote:
> Daniel Serodio wrote, On 12/27/2009 04:55 AM:
>>
>> I'm trying to install Mercurial 1.4.1 on Windows 7 Ultimate 64bit with
>> ActivePython 2.6.2.2 and it's failing with:
>>
>> Running mercurial-1.4.1\setup.py -q bdist_egg --dist-dir
>>
>> c:\users\dserodio\appdata\local\temp\easy_install-cvgssa\mercurial-1.4.1\egg-dist-tmp-1yaa2u
>> error: Setup script exited with error: Unable to find vcvarsall.bat
>>
>
> I think http://mercurial.selenic.com/wiki/Download#Using_easy_install hints
> that a C compiler is needed - that seems to be the problem here.
>
> In my opinion a binary package should be preferred, and if that fails then
> Mercurial should be installed from source. easy_install is never a good
> solution.
>
> I updated the wiki some days ago, but didn't dare to state the conclusion
> that clearly there.
At http://bitbucket.org/tortoisehg/thg-winbuild/downloads/ you can
find source distribution packages for Python 2.5 and 2.6 that include
compiled C extensions:
mercurial-1.4.1.win32-py2.5.exe
mercurial-1.4.1.win32-py2.6.exe
And you can find a full binary installer that includes a Python
interpreter so it can run on a bare Windows machine:
Mercurial-1.4.1-1.exe
If you would like GUI tools to go with the command line tools, you can
download TortoiseHg from http://tortoisehg.org. Note that TortoiseHg
binary installers include Mercurial.
--
Steve Borho
More information about the Mercurial
mailing list