472,121 Members | 1,591 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,121 software developers and data experts.

Invalid Version Number (Distutils from Cygwin)


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.p y", 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.p y", 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'
--
View this message in context: http://www.nabble.com/Invalid-Versio...p17714617.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Jun 27 '08 #1
0 1277

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by John Hunter | last post: by
2 posts views Thread by Scott David Daniels | last post: by
4 posts views Thread by timothy.williams | last post: by
2 posts views Thread by George Sakkis | last post: by
2 posts views Thread by Jerry He | last post: by
reply views Thread by Jason Tishler | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.