[tahoe-dev] easy_install failure on vista: Could not import twisted.

Nathan nejucomo at gmail.com
Mon Sep 24 23:40:03 UTC 2007


Ah, I now see the README lists easy_install-able dependencies and
unsupported dependencies separately...  (As zooko pointed out.)

IMO, the README would be better organized in an overview first
fashion, describing the installation procedure first.  The
installation procedure should describe the most convenient user
friendly approaches first (which seems to always be easy_install,
IMO).  It can describe hacking-oriented installs later (such as
acquiring source and running in-place).

Each of the installation sections should be a short overview of the
procedure with references to details.  Details such as dependencies
and the license should come after all of this.

The reason I say this is that is how I always traverse READMEs.  Do
other people do it this way?

I completely ignore the description/synopsis, license, dependencies,
how to get the source, etc...  I already have the source, I already
have some idea of what the software is, and I don't care what the
dependencies are unless I must for installation purposes.  So, I
always skim down to "how to install" sections.

So, here's my imagined organization:

... synopsis - what is Tahoe; short ...

Installing Tahoe:

There are several ways to install Tahoe, depending on your needs.  For
most users who are not interested in development, the "easy_install"
method is recommended (see the easy_install section below).  By
installing this software you agree to the terms of the license (see
the license section below.)

The "easy_install" method:

1.  Install manaul dependencies (see the section "Installing Manual
Dependencies" below.)
2. Acquire easy_install (see
http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions)
3. Run "easy_install allmydata-tahoe".

... Other installation methods (this is where acquiring the source is
first mentioned) ...

Dependencies:

Manual Dependencies:  These must be installed according to your
operating system:

... List manual dependencies ...

Easy Install Dependencies:  These can be installed with easy_install,
or using your operating systems standard procedure.

...  License, etc...


What do you all think of this approach?  I've assumed other people
access READMEs in the same manner as I, but perhaps people are more
methodical than me.

Regards,
Nathan



On 9/24/07, Nathan <nejucomo at gmail.com> wrote:
> Hey folks,
>
> I'm installing tahoe on a fairly fresh Vista box.  I'm not very
> familiar with Vista, easy_install, or installing tahoe any way except
> "in place", so I figure it's a good QA opportunity.
>
> It looks like easy_install dies because twisted isn't installed.  If
> it is a dependency, shouldn't easy_install recursively install it?
>
> Here's the command prompt session:
>
> C:\Windows\system32>c:\Python25\Scripts\easy_install.exe allmydata-tahoe
> Searching for allmydata-tahoe
> Best match: allmydata-tahoe 0.6.0
> Processing allmydata_tahoe-0.6.0-py2.5-win32.egg
> allmydata-tahoe 0.6.0 is already the active version in easy-install.pth
> Installing allmydata-tahoe-script.py script to C:\Python25\Scripts
> Installing allmydata-tahoe.exe script to C:\Python25\Scripts
>
> Using c:\python25\lib\site-packages\allmydata_tahoe-0.6.0-py2.5-win32.egg
> Not found: misc\dependencies\foolscap-0.1.6.tar.gz
> Not found: misc\dependencies\Nevow-0.9.18.tar.gz
> Not found: misc\dependencies\zfec-1.0.4.tar.gz
> Not found: misc\dependencies\zope.interface-3.4.0.tar.gz
> Processing dependencies for allmydata-tahoe
> Searching for nevow>=0.6.0
> Reading http://allmydata.org/trac/tahoe/wiki/Dependencies
> Reading http://pypi.python.org/simple/nevow/
> Couldn't find index page for 'nevow' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading http://pypi.python.org/simple/
> Reading http://pypi.python.org/simple/Nevow/
> Reading http://divmod.org/trac/wiki/DivmodNevow
> Reading http://divmod.org/projects/nevow
> Reading http://www.divmod.org/
> Best match: Nevow 0.9.18
> Downloading http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-0.9.18
> .tar.gz?format=raw
> Processing Nevow-0.9.18.tar.gz
> Running Nevow-0.9.18\setup.py -q bdist_egg --dist-dir c:\users\nathan\appdata\lo
> cal\temp\easy_install-5epcis\Nevow-0.9.18\egg-dist-tmp-4x0sfv
> Traceback (most recent call last):
>   File "c:\Python25\Scripts\easy_install-script.py", line 8, in <module>
>     load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install')()
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 1670, in main
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 1659, in with_ei_usage
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 1674, in <lambda>
>   File "C:\Python25\lib\distutils\core.py", line 151, in setup
>     dist.run_commands()
>   File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
>     self.run_command(cmd)
>   File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
>     cmd_obj.run()
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 211, in run
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 446, in easy_install
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 476, in install_item
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 519, in process_distribution
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p
> y", line 522, in resolve
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p
> y", line 758, in best_match
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p
> y", line 770, in obtain
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 446, in easy_install
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 471, in install_item
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 655, in install_eggs
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 930, in build_and_install
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\comm
> and\easy_install.py", line 919, in run_setup
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\sand
> box.py", line 27, in run_setup
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\sand
> box.py", line 63, in run
>   File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\setuptools\sand
> box.py", line 29, in <lambda>
>   File "setup.py", line 8, in <module>
>   File "c:\users\nathan\appdata\local\temp\easy_install-5epcis\Nevow-0.9.18\setu
> pcommon.py", line 2, in <module>
>   File "c:\users\nathan\appdata\local\temp\easy_install-5epcis\Nevow-0.9.18\nevo
> w\__init__.py", line 5, in <module>
>   File "c:\users\nathan\appdata\local\temp\easy_install-5epcis\Nevow-0.9.18\nevo
> w\_version.py", line 2, in <module>
> ImportError: No module named twisted.python
>



More information about the tahoe-dev mailing list