<br>I managed to fix it. I very stupidly had a module called new.py in my path which ofcourse was<br> conflicting with the python new.py. That was causing the call to new.instancemethod to fail..<br>Anyways, it is fixed now.
<br><br>Thanks,<br><br>--<br>ss<br><br><br><div><span class="gmail_quote">On 11/7/06, <b class="gmail_sendername">signal seeker</b> <<a href="mailto:seekersignal@gmail.com">seekersignal@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<br>Greetings,<br><br>I had been using ip for a couple of months before I got this error on startup yesteray ..<br><br> <snip><br> Traceback (most recent call last):<br> File "./ipython", line 28, in ?<br>
IPython.Shell.start().mainloop()<br> File "/home/xxx/lib/python/IPython/Shell.py", line 946, in start<br> return shell(user_ns = user_ns)<br> File "/home/xxx/lib/python/IPython/Shell.py", line 56, in __init__
<br> debug=debug,shell_class=shell_class)<br> File "/home/xxx/lib/python/IPython/ipmaker.py", line 90, in make_IPython<br> embedded=embedded,**kw)<br> File "/home/xxx/lib/python/IPython/iplib.py", line 390, in __init__
<br> self.set_hook(hook_name,getattr(hooks,hook_name), 100)<br> File "/home/xxx/lib/python/IPython/iplib.py", line 734, in set_hook<br> f = new.instancemethod(hook,self,self.__class__)<br> AttributeError: 'module' object has no attribute 'instancemethod'
<br> </snap><br><br> As far as I know there has been no change in my env settings and my machine. I also tried running it on multiple machines but I get the same error. I even tried reinstalling ip but that did not help.
<br> Can someone please shed some light on this ? I am really frustated having to use the python command line without ip.<br><br> Thanks a lot,<br><br> --<br><span class="sg"> ss<br></span></blockquote></div><br>