Invalid Version Number (Distutils from Cygwin)

N

newbie73

OS: Vista
Python 2.5.2.2 (ActiveState Software Installation)
Running latest Cygwin release

The error generated is pasted below - please help.

- Luis

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

I'm attempting to build a project (FANN libraries) using cygwin (to avoid
installing MSVC 2003) and am receiving this error:

Traceback (most recent call last):
File "setup.py", line 46, in <module>
define_macros=[("SWIG_COMPILE",None)]
File "O:\bin\Python25\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "O:\bin\Python25\lib\distutils\dist.py", line 974, in run_commands
self.run_command(cmd)
File "O:\bin\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "O:\bin\Python25\lib\distutils\command\build.py", line 112, in run
self.run_command(cmd_name)
File "O:\bin\Python25\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "O:\bin\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "o:\bin\Python25\lib\distutils\command\build_ext.py", line 273, in
run
force=self.force)
File "o:\bin\Python25\lib\distutils\ccompiler.py", line 1175, in
new_compiler
return klass (None, dry_run, force)
File "o:\bin\Python25\lib\distutils\cygwinccompiler.py", line 292, in
__init__

CygwinCCompiler.__init__ (self, verbose, dry_run, force)
File "o:\bin\Python25\lib\distutils\cygwinccompiler.py", line 84, in
__init__
get_versions()
File "o:\bin\Python25\lib\distutils\cygwinccompiler.py", line 424, in
get_vers
ions
ld_version = StrictVersion(result.group(1))
File "O:\bin\Python25\lib\distutils\version.py", line 40, in __init__
self.parse(vstring)
File "O:\bin\Python25\lib\distutils\version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '2.18.50.20080523'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top