Re: ctypes version mismatch



Paul McNett schrieb:
Anyone have anything to suggest on this error:

{{{
Traceback (most recent call last):
File "shutter_studio.py", line 41, in <module>
File "App.pyo", line 25, in <module>
File "ui\__init__.pyo", line 23, in <module>
File "ui\FrmProductionOrders.pyo", line 10, in <module>
File "ui\PagEditProductionOrders.pyo", line 8, in <module>
File "ui\GrdProductionOrderOpenings.pyo", line 5, in <module>
File "ui\DlgEditProductionOrderOpening.pyo", line 17, in <module>
File "ui\ShutterCanvas.pyo", line 9, in <module>
File "wx\lib\floatcanvas\FloatCanvas.pyo", line 6, in <module>
File "numpy\__init__.pyo", line 46, in <module>
File "numpy\ctypeslib.pyo", line 9, in <module>
File "ctypes\__init__.pyo", line 20, in <module>
Exception: ('Version number mismatch', '1.0.2', '1.0.3')
}}}

I just updated from python 2.5.1 to 2.5.2, and wxPython 2.8.7.1 to
2.8.8.1. The issue is only in the py2exe-built app, not when running the
script from the command line.

I guess you should remove the build and dist directories and rebuild
your app - this is always a good idea when something goes wrong, not only
after upgrading Python or Python packages.

Thomas
.



Relevant Pages

  • ANNOUNCE: wxPython 2.5.4.1
    ... I'm pleased to announce the 2.5.4.1 release of wxPython, ... wxPython is a GUI toolkit for the Python programming language. ... GetRect accessor to give the position of the item on the parent window. ... OGL patch from Shane Holloway: ...
    (comp.lang.python)
  • ANN: wxPython 2.6.0.1
    ... I'm pleased to announce the 2.6.0.1 release of wxPython, ... consists mostly of bug fixes made since the 2.6.0.0 release a month ... wxPython is a GUI toolkit for the Python programming language. ... in case there is more than one adjustment for a window in a single DeferWindowPos set, then the pending values can be used for defaults instead of current values. ...
    (comp.lang.python)
  • ANN: wxPython 2.6.3.3
    ... The 2.6.3.3 release of wxPython is now available for download at ... and also includes builds for Python 2.5 on Mac and also Windows. ... wxPython is a GUI toolkit for the Python programming language. ... cases the native widgets are used on each platform. ...
    (comp.lang.python)
  • ANN: wxPython 2.6.3.3
    ... The 2.6.3.3 release of wxPython is now available for download at ... and also includes builds for Python 2.5 on Mac and also Windows. ... wxPython is a GUI toolkit for the Python programming language. ... cases the native widgets are used on each platform. ...
    (comp.lang.python.announce)
  • Re: Yet another GUI toolkit question...
    ... you don't have that I can only suggest wxPython. ... I think Tkinter is lagging behind Tk itself in terms of its advances ... Certainly a lot of Python developers don't seem well-informed about the ... The vast range of available GUI toolkits is one thing that partially ...
    (comp.lang.python)