when attempting to write this code in python:
import wx
app = wx.App()
frame = wx.Frame(None, -1, 'simple.py')
frame.Show()
app.MainLoop()
I get this error:
File "/home/loveriot/Programming/python/simple.py", line 1, in <module>
import wx
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 6, in <module>
new_instancemethod = new.instancemethod
AttributeError: 'module' object has no attribute 'instancemethod'
Any idea one what could be causing this? I'm pretty sure I have the correct packages installed for wxpython. In the interpreter I do not get an error when I type import wx.

