wxPython2.8 代码运行不了

wxPython2.8 代码运行不了

版本:
python2.5
wxPython2.8

文件名:wxtest.py

代码:

from wxPython import *
print 'test'

执行上面两个代码结果:
wxtest.py:1: DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained.  Please switch to the wx packag
e as soon as possible.
  from wxPython import *
Traceback (most recent call last):
  File "wxtest.py", line 1, in <module>
    from wxPython import *
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wxPython\__init__.py", lin
e 15, in <module>
    import _wx
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wxPython\_wx.py", line 3,
in <module>
    from _core import *
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wxPython\_core.py", line 1
5, in <module>
    import wx._core
  File "E:\python\wx.py", line 3, in <module>
AttributeError: 'module' object has no attribute 'Panel'
用 import wx
不建议用 from wxPython import * 这种形式