AttributeError :'module' has no attribute 'instancemethod'
irrespective of any simple program I run which were working perfectly
before.
I searched through google and found that If I have a new.py and i
create another new.py it gives this error.
But I am not doing such things.
I also read somewhere that uninstalling wxpython and reinstalling will
help, but unfortunately that didn't.
Please help me I am stuck.
Traceback (most recent call last):
File "C:\Documents and Settings\SMStudent\Desktop\rect.py", line 1,
in <module>
import wx
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx
\__init__.py", line 45, in <module>
from wx._core import *
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 6, in <module>
new_instancemethod = new.instancemethod
AttributeError: 'module' object has no attribute 'instancemethod'
Thanks
···
On Dec 5, 2:39 pm, Frank Niessink <fr...@niessink.com> wrote:
2009/12/5 madhura <madhur...@gmail.com>:
> Hi
> I am getting this error
> AttributeError :'module' has no attribute 'instancemethod'
I solved the problem. I renamed the NEW file created in the directory.
Thanks anyways.
···
On Dec 5, 3:29 pm, madhura <madhur...@gmail.com> wrote:
Hi here is the traceback
Traceback (most recent call last):
File "C:\Documents and Settings\SMStudent\Desktop\rect.py", line 1,
in <module>
import wx
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx
\__init__.py", line 45, in <module>
from wx._core import *
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 6, in <module>
new_instancemethod = new.instancemethod
AttributeError: 'module' object has no attribute 'instancemethod'
Thanks
On Dec 5, 2:39 pm, Frank Niessink <fr...@niessink.com> wrote:
> 2009/12/5 madhura <madhur...@gmail.com>:
> > Hi
> > I am getting this error
> > AttributeError :'module' has no attribute 'instancemethod'