[tahoe-dev] Tahoe 1.8.2 installation error on Window XP 32bit

Shu Lin linshu at gmail.com
Tue Jun 14 09:08:20 PDT 2011


Zooko,

> The Twisted-11.0.0-py2.6-win32.egg file was uploaded to
> pypi.python.org on 2011-06-10, so one explanation for why your build
> tried to build from source would be if you ran your build before
> 2011-06-10 but then didn't mail the results to the list until
> 2011-06-13. Is that the case?

My last run might not happen on 6/13, but definitely after 6/11 and I unzipped Tahoe in a clean folder again.

Follow the thread between me and David, my second last run was happening on 6/11 before David pointed me to change setup.py.

I always deleted all files in the c:\tahoe-lafs (hopefully, there is no hidden file left), then unzipped a clean tahoe copy in that folder again, then build.

I will try rebuild it with "-v" option and let you know the result.

Thanks,
-Shu


On Jun 13, 2011, at 8:21 AM, Shu Lin wrote:

>> Message: 1
>> Date: Sat, 11 Jun 2011 22:15:48 +0100
>> From: David-Sarah Hopwood <david-sarah at jacaranda.org>
>> To: tahoe-dev at tahoe-lafs.org
>> Subject: Re: [tahoe-dev] Tahoe 1.8.2 installation error on Window XP
>>        32bit
>> Message-ID: <4DF3DB04.2070803 at jacaranda.org>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> On 11/06/11 13:19, Shu Lin wrote:
>>>> 
>>>> Please delete c:\tahoe-lafs\twisted-8.2.0-py2.6-win32.egg and try again.
>>> 
>>> The same result. Actually, before what I did was:
>>> 1, Unzipped Tahoe in a new clean folder,
>>> 2, Modified the _auto_deps.py
>>> 3, Then, "C:\tahoe-lafs>c:\Python26\python.exe setup.py build"
>> 
>> As well as changing _auto_deps.py, please change the line
>> 
>>  setup_requires.append('Twisted >= 2.4.0')
>> 
>> in setup.py (line 144) to:
>> 
>>  setup_requires.append('Twisted >= 9.0.0')
>> 
>> 
>> (If it still fails, post the full log from step 3.)
>> 
>> --
>> David-Sarah Hopwood ? http://davidsarah.livejournal.com
>> 
> 
> It turned out to be like this:
> Thanks,
> -Shu
> 
> ===
> C:\tahoe-lafs>c:\Python26\python.exe setup.py build
> Not found: tahoe-deps
> Not found: ../tahoe-deps
> 
> Setting up environment to run scripts for the current user...
> Already done: associate the filetype .pyscript with Python.File for
> the current user.
> Already done: add .pyscript to the user environment variable PATHEXT.
> Already done: add .pyw to the user environment variable PATHEXT.
> Traceback (most recent call last):
> File "setup.py", line 417, in <module>
>   **setup_args
> File "c:\Python26\lib\distutils\core.py", line 113, in setup
>   _setup_distribution = dist = klass(attrs)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\dist.py",
> line 260, in __init__
>   self.fetch_build_eggs(attrs.pop('setup_requires'))
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\dist.py",
> line 284, in fetch_build_eggs
>   parse_requirements(requires), installer=self.fetch_build_egg
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\pkg_resources.py",
> line 573, in resolve
>   dist = best[req.key] = env.best_match(req, self, installer)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\pkg_resources.py",
> line 823, in best_match
>   return self.obtain(req, installer) # try and download/install
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\pkg_resources.py",
> line 835, in obtain
>   return installer(requirement)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\dist.py",
> line 327, in fetch_build_egg
>   return cmd.easy_install(req)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\command\easy_install.py",
> line 453, in easy_install
>   return self.install_item(spec, dist.location, tmpdir, deps)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\command\easy_install.py",
> line 483, in install_item
>   dists = self.install_eggs(spec, download, tmpdir)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\command\easy_install.py",
> line 663, in install_eggs
>   return self.build_and_install(setup_script, setup_base)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\command\easy_install.py",
> line 938, in build_and_install
>   self.run_setup(setup_script, setup_base, args)
> File "C:\tahoe-lafs\setuptools-0.6c16dev3.egg\setuptools\command\easy_install.py",
> line 929, in run_setup
>   raise DistutilsError("Setup script exited with %s" % (v.args[0],))
> distutils.errors.DistutilsError: Setup script exited with error:
> Unable to find vcvarsall.bat
> 
> C:\tahoe-lafs>
> ===

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110614/a2dd47cc/attachment-0001.html>


More information about the tahoe-dev mailing list