By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,772 Members | 919 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,772 IT Pros & Developers. It's quick & easy.

Invalid Version Number (Distutils from Cygwin)

P: n/a

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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.