[Python] Linux: errore wxPython durante installazione applicazione

Mr.SpOOn mr.spoon21 a gmail.com
Gio 31 Gen 2008 14:17:21 CET

On Jan 31, 2008 2:09 PM, Y3s <y3s a katamail.com> wrote:
> Il giorno 31/gen/08, alle ore 14:00, Mr.SpOOn ha scritto:
> > On Jan 31, 2008 1:54 PM, Y3s <y3s a katamail.com> wrote:

> Strano che non funzioni allora...prova dalla shell python a fare:
> import wxPython

Viene fuori questo:

__main__:1: DeprecationWarning: The wxPython compatibility package is
no longer automatically generated or actively maintained.  Please
switch to the wx package as soon as possible.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py",
line 15, in <module>
    import _wx
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py",
line 8, in <module>
    from _misc import *
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_misc.py",
line 456, in <module>
    wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear
AttributeError: 'module' object has no attribute 'DateTime_GetNumberOfDaysinYear

More information about the Python mailing list