ZFN

Windows Installation Problems

Asked by Dragonman117

I tried installing zfn on windows xp the first time it seemed to fail after failing to install setuptools. Here is terminal output (do you know how hard windows makes it to get terminal output :P) :
C:\Documents and Settings\TJ\Desktop\zfn-0.1.1\zfn-0.1.1>setup.py

---------------------------------------------------------------------------
This script requires setuptools version 0.6c8 to run (even to display
help). I will attempt to download it for you (from
http://pypi.python.org/packages/2.5/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.

(Note: if this machine does not have network access, please obtain the file

   http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg

and place it in this directory before rerunning this script.)
---------------------------------------------------------------------------
Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py
2.5.egg

The python package 'Pyrex' is not available. If the .c files are available,
they will be built, but modifying the .pyx files will not rebuild them.

Python was built with Visual Studio version 7.1, and extensions need to be built
 with the same version of the compiler, but it isn't installed.
Extensions cannot be built, will use the Python versions instead
Created: build\bdist.win32\egg\EGG-INFO\scripts\bzr.bat
zip_safe flag not set; analyzing archive contents...
bzrlib.builtins: module references __path__
bzrlib.commands: module MAY be using inspect.trace
bzrlib.lsprof: module references __file__
bzrlib.osutils: module references __file__
bzrlib.plugin: module references __file__
bzrlib.plugin: module references __path__
bzrlib.version: module references __file__
bzrlib.version: module references __path__
bzrlib.doc.api.__init__: module references __file__
C:\Documents and Settings\TJ\Desktop\zfn-0.1.1\zfn-0.1.1\setuptools-0.6c8-py2.5.
egg\setuptools\command\bdist_egg.py:422: UnicodeWarning: Unicode equal compariso
n failed to convert both arguments to Unicode - interpreting them as being unequ
al
  symbols = dict.fromkeys(iter_symbols(code))
bzrlib.tests.test_patches: module references __file__
bzrlib.tests.test_plugins: module references __file__
bzrlib.tests.test_plugins: module references __path__
bzrlib.tests.test_setup: module references __file__
bzrlib.tests.test_source: module references __file__
bzrlib.tests.__init__: module references __file__

Installed c:\documents and settings\tj\desktop\zfn-0.1.1\zfn-0.1.1\bzr-1.6b3-py2
.5-win32.egg
C:\Documents and Settings\TJ\Desktop\zfn-0.1.1\zfn-0.1.1\setuptools-0.6c8-py2.5.
egg\setuptools\dist.py:245: UserWarning: Module bzrlib was already imported from
 c:\docume~1\tj\locals~1\temp\easy_install-usahc-\bzr-1.6b3\bzrlib\__init__.py,
but c:\documents and settings\tj\desktop\zfn-0.1.1\zfn-0.1.1\bzr-1.6b3-py2.5-win
32.egg is being added to sys.path
  working_set.add(dist)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

C:\Documents and Settings\TJ\Desktop\zfn-0.1.1\zfn-0.1.1>cd ../

So i tried to install setuptools by myself. It worked but when i tried to run the setup.py i got:
C:\Documents and Settings\TJ\Desktop\zfn-0.1.1\zfn-0.1.1>setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

I even tried installing the egg but i don't know windows terminal as well and so when i tried running "easy_install zfn-0.1.1-py2.5.egg" and that didn't work. (Epic failure to windows noobs! :) I hate dos!)

Question information

Language:
English Edit question
Status:
Answered
For:
ZFN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ross Light (quartz25) said :
#1

Dragonman, you didn't supply a command to setup.py. It needs to be run with:

setup.py install

But, I still recommend the easy_install option, but it needs a URL. For example:

easy_install http://zfilenet.googlecode.com/files/zfn-0.1.1-py2.5.egg

I would wait off for a little bit, though, since I am going to release 0.1.2 today (at which point you would change the above command from 0.1.1 to 0.1.2).

Can you help with this problem?

Provide an answer of your own, or ask Dragonman117 for more information if necessary.

To post a message you must log in.