473,386 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 1427

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Hunter | last post by:
I am using distutils to build a python extension module on win32. I initialize the Extension class with a list of libraries with Extension("_gd", , include_dirs=incdirs, library_dirs=libdirs,...
2
by: Scott David Daniels | last post by:
I'm trying to get distutils in 2.4 happy running mingw32. I've chased a few things down, but now I'm getting: C:\Documents and Settings\daniels\Desktop\Py\block>\python24\python setup.py bui...
4
by: timothy.williams | last post by:
Hello all. We don't have admin privs on our Windows boxes, but I'd like to be able to install a package built using distutils. I was able to install Python without admin, but when I tried to run...
2
by: George Sakkis | last post by:
I'm trying to build a C++ extension on Cygwin, but it fails because distutils invokes gcc instead of g++. Looking into distutils internals, it turns out that compilation is assumed to be...
2
by: Jerry He | last post by:
Hi, I was trying to build a C++ extension on Win32 with distutils. The extension worked on Cygwin but when I tried it with the Win32-build python, it complained that I don't have .NET Framework...
4
by: Claudio Grondi | last post by:
I need to unpack on a Windows 2000 machine some Wikipedia media .tar archives which are compressed with TAR 1.14 (support for long file names and maybe some other features) . It seems, that...
0
by: Greg | last post by:
Hi, creating template1 database in /var/pgsql/data1/base/1... DEBUG: invoking IpcMemoryCreate(size=1081344) FATAL: shmat(id=1179648) failed: Invalid argument What's the problem why is shmat...
5
by: A. Farber | last post by:
Hello, I call readv() and writev() in several spots of a program which I run under Linux, OpenBSD and Cygwin. Since it always the same way (check the return value; then check errno and retry if...
0
by: Jason Tishler | last post by:
On Sat, Jun 07, 2008 at 05:34:21PM -0700, newbie73 wrote: The above is a known issue: http://bugs.python.org/issue2234 Unfortunately, resolution of this issue has stalled. Additionally,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.