[tahoe-dev] Installation error

John matrixpoint at gmail.com
Fri May 29 23:12:46 PDT 2009


Hi Zooko,

I uninstalled pywin32, then ran setup again. No luck -- setup couldn't
find pywin32. It listed where it was looking, and the testgrid link

http://testgrid.allmydata.org:8123/uri/URI%3ADIR2%3Agdhlke5r4244bmzyu3k3otlcjm%3Aunarxv347edtku3xzmefy4mcdmfngxzeb72iyqcadbjzjpczjx5a/index.html

you gave me was not on the list. As before, the first place it was
looking was here:

http://allmydata.org/source/tahoe/deps/tahoe-deps/

and pywin32 is not there. By the way, I previously moved the contents of
http://allmydata.org/source/tahoe/deps/tahoe-deps/ to a local folder
named tahoe-deps (since I noticed that setup searched for this initially
before looking elsewhere) because of the very slow download speeds. This
worked fine. So, I copied the pywin32 (for python 2.5) that you put on
the testgrid into my local tahoe-deps directory, in-commented that line
in auto-deps, and ran setup again. This is what I got. pywin32 seemed to
install, but when Nevow started running, the win32api module couldn't be
found. I noticed win32api was not in the list (below) of modules in pywin32:

Downloading file:misc/dependencies/setuptools-0.6c12dev.egg

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\setuptools_darcs-1.2.8-py2.5.egg
Searching for setuptools-trial>=0.5
Best match: setuptools-trial 0.5.2
Processing setuptools_trial-0.5.2.tar
Running setuptools_trial-0.5.2\setup.py -q bdist_egg --dist-dir
c:\users\john\appdata\local\temp\easy_install-ciqgjf\setuptools_trial-0.5.2\egg-dist-tmp-otosej

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\setuptools_trial-0.5.2-py2.5.egg
Searching for darcsver>=1.2.0
Best match: darcsver 1.2.1
Processing darcsver-1.2.1.tar
Running darcsver-1.2.1\setup.py -q bdist_egg --dist-dir
c:\users\john\appdata\local\temp\easy_install-z5fdjq\darcsver-1.2.1\egg-dist-tmp-dupcnv

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\darcsver-1.2.1-py2.5.egg
Searching for Twisted>=2.4.0
Best match: Twisted 8.2.0
Processing twisted-8.2.0-py2.5-win32.egg
creating
c:\users\john\desktop\allmydata-tahoe-1.4.1\twisted-8.2.0-py2.5-win32.egg
Extracting twisted-8.2.0-py2.5-win32.egg to
c:\users\john\desktop\allmydata-tahoe-1.4.1

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\twisted-8.2.0-py2.5-win32.egg
Searching for zope.interface
Best match: zope.interface 3.5.1
Processing zope.interface-3.5.1.tar.gz
Running zope.interface-3.5.1\setup.py -q bdist_egg --dist-dir
c:\users\john\appdata\local\temp\easy_install-hrkuki\zope.interface-3.5.1\egg-dist-tmp-yd7_fe

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\zope.interface-3.5.1-py2.5-win32.egg
running darcsver
WARNING: 'darcs' was not found. However '~' was found in your PATH.
Please note that bugs in python cause it to fail to traverse '~' in
the user's PATH.  Please fix your path, e.g.
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
Files\ATI
Technologies\ATI.ACE\Core-Static;C:\PROGRAC:\Users\John1\COMMONC:\Users\John1\ULEADSC:\Users\John1\MPEG;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Common Files\DivX Shared\
WARNING: 'realdarcs.exe' was not found. However '~' was found in your PATH.
Please note that bugs in python cause it to fail to traverse '~' in
the user's PATH.  Please fix your path, e.g.
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
Files\ATI
Technologies\ATI.ACE\Core-Static;C:\PROGRAC:\Users\John1\COMMONC:\Users\John1\ULEADSC:\Users\John1\MPEG;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Common Files\DivX Shared\
setup.py darcsver: Failure from attempt to find version tags with 'darcs
changes', and src\allmydata\_version.py already exists, so leaving it alone.
running develop
running egg_info
writing requirements to src\allmydata_tahoe.egg-info\requires.txt
writing src\allmydata_tahoe.egg-info\PKG-INFO
writing top-level names to src\allmydata_tahoe.egg-info\top_level.txt
writing dependency_links to
src\allmydata_tahoe.egg-info\dependency_links.txt
writing entry points to src\allmydata_tahoe.egg-info\entry_points.txt
reading manifest file 'src\allmydata_tahoe.egg-info\SOURCES.txt'
writing manifest file 'src\allmydata_tahoe.egg-info\SOURCES.txt'
running build_ext
Creating
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages\site.py
Processing setuptools-0.6c12dev.egg
creating
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages\setuptools-0.6c12dev.egg
Extracting setuptools-0.6c12dev.egg to
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages
Adding setuptools 0.6c12dev to easy-install.pth file
Installing easy_install-script.py script to support/Scripts
Installing easy_install.exe script to support/Scripts
Installing easy_install-2.5-script.py script to support/Scripts
Installing easy_install-2.5.exe script to support/Scripts

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages\setuptools-0.6c12dev.egg
Creating
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages\allmydata-tahoe.egg-link
(link to src)
Adding allmydata-tahoe 1.4.1 to easy-install.pth file
Installing tahoe-script.py script to support/Scripts
Installing tahoe.exe script to support/Scripts

Installed c:\users\john\desktop\allmydata-tahoe-1.4.1\src
Processing dependencies for allmydata-tahoe==1.4.1
Searching for pywin32
Best match: pywin32 213
Processing pywin32-213.win32-py2.5.exe
pywintypes: module references __file__
win32evtlogutil: module references __file__
win32serviceutil: module references __file__
win32timezone: module references __file__
Demos.win32rcparser_demo: module references __file__
Demos.security.sspi.validate_password: module references __file__
isapi.install: module references __file__
isapi.samples.advanced: module references __file__
isapi.samples.test: module references __file__
isapi.test.setup: module references __file__
pywin.framework.scriptutils: module references __file__
pywin.framework.startup: module references __path__
pywin.scintilla.config: module references __path__
pywin.scintilla.control: module references __file__
pywin.scintilla.IDLEenvironment: module references __file__
scripts.regsetup: module references __file__
scripts.setup_d: module references __file__
test.testall: module references __file__
test.test_clipboard: module references __file__
test.test_win32api: module references __file__
test.test_win32rcparser: module references __file__
test.test_win32trace: module references __file__
win32com.__init__: module references __path__
win32com.server.register: module references __file__
win32com.server.register: module references __path__
win32com.test.GenTestScripts: module references __path__
win32com.test.pippo_server: module references __file__
win32com.test.testall: module references __file__
win32com.test.testAXScript: module references __path__
win32com.test.testDictionary: module references __file__
win32com.test.testPippo: module references __file__
win32com.test.testPyComTest: module references __file__
win32com.test.testServers: module references __file__
win32com.test.util: module references __file__
win32comext.adsi.__init__: module references __path__
win32comext.authorization.__init__: module references __path__
win32comext.axcontrol.__init__: module references __path__
win32comext.axdebug.codecontainer: module references __file__
win32comext.axdebug.debugger: module references __file__
win32comext.axdebug.__init__: module references __path__
win32comext.axscript.__init__: module references __path__
win32comext.bits.__init__: module references __path__
win32comext.directsound.__init__: module references __path__
win32comext.directsound.test.ds_test: module references __file__
win32comext.internet.__init__: module references __path__
win32comext.mapi.__init__: module references __path__
win32comext.shell.__init__: module references __path__
win32comext.shell.demos.servers.empty_volume_cache: module references
__file__
win32comext.shell.demos.servers.folder_view: module references __file__
win32comext.taskscheduler.__init__: module references __path__
creating
'c:\users\john\appdata\local\temp\easy_install-3yuvab\pywin32-213-py2.5-win32.egg'
and adding
'c:\users\john\appdata\local\temp\easy_install-3yuvab\pywin32-213-py2.5-win32.egg.tmp'
to it
creating
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages\pywin32-213-py2.5-win32.egg
Extracting pywin32-213-py2.5-win32.egg to
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages
Adding pywin32 213 to easy-install.pth file
Installing pywin32_postinstall.py script to support/Scripts
Installing pywin32_postinstall.pyc script to support/Scripts

Installed
c:\users\john\desktop\allmydata-tahoe-1.4.1\support\lib\site-packages\pywin32-213-py2.5-win32.egg
Searching for Nevow>=0.6.0
Best match: Nevow 0.9.33
Processing nevow-0.9.33.tar.gz
Running Nevow-0.9.33\setup.py -q bdist_egg --dist-dir
c:\users\john\appdata\local\temp\easy_install-pdkzqm\Nevow-0.9.33\egg-dist-tmp-tog0zu

Standard error output:

********************************************************************************

WARNING:

        An optional code optimization (C extension) could not be compiled.

        Optimizations for this package will not be available!

Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
********************************************************************************

C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\
command\bdist_egg.py:422: UnicodeWarning: Unicode equal comparison
failed to con
vert both arguments to Unicode - interpreting them as being unequal
  symbols = dict.fromkeys(iter_symbols(code))
Traceback (most recent call last):
  File "setup.py", line 346, in <module>
    zip_safe=False, # We prefer unzipped for easier access.
  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:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\develop.py",
line 27, in run
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\develop.py",
line 102, in install_for_development
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py",
line 525, in process_distribution
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\pkg_resources.py",
line 522, in resolve
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\pkg_resources.py",
line 758, in best_match
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\pkg_resources.py",
line 770, in obtain
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py",
line 452, in easy_install
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py",
line 482, in install_item
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py",
line 661, in install_eggs
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py",
line 936, in build_and_install
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\command\easy_install.py",
line 925, in run_setup
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\sandbox.py",
line 24, in run_setup
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\sandbox.py",
line 63, in run
  File
"C:\Users\John\Desktop\allmydata-tahoe-1.4.1\setuptools-0.6c12dev.egg\setuptools\sandbox.py",
line 26, in <lambda>
  File "setup.py", line 3, in <module>
    # Allmydata Tahoe -- secure, distributed storage grid
  File
"c:\users\john\appdata\local\temp\easy_install-pdkzqm\Nevow-0.9.33\nevow\__init__.py",
line 12, in <module>
  File
"c:\users\john\appdata\local\temp\easy_install-pdkzqm\Nevow-0.9.33\nevow\flat\__init__.py",
line 7, in <module>
  File
"c:\users\john\appdata\local\temp\easy_install-pdkzqm\Nevow-0.9.33\nevow\flat\ten.py",
line 14, in <module>
  File
"c:\users\john\appdata\local\temp\easy_install-pdkzqm\Nevow-0.9.33\nevow\util.py",
line 153, in <module>
  File
"c:\users\john\desktop\allmydata-tahoe-1.4.1\twisted-8.2.0-py2.5-win32.egg\twisted\internet\defer.py",
line 17, in <module>
    from twisted.python import log, failure, lockfile
  File
"c:\users\john\desktop\allmydata-tahoe-1.4.1\twisted-8.2.0-py2.5-win32.egg\twisted\python\lockfile.py",
line 28, in <module>
    from win32api import OpenProcess
ImportError: No module named win32api



More information about the tahoe-dev mailing list