[IPython-user] need pyreadline fix soon
Ryan Krauss
ryanlists@gmail....
Wed May 23 12:26:08 CDT 2007
I am tesing the effortless install I am planning to unleash on my
students tomorrow (I announced my plan in class yesterday and nobody
freaked out). But I am having troubles with pyreadline.
I installed this one:
http://ipython.scipy.org/dist/pyreadline-1.3.win32.exe
and am back to getting this message:
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'> Traceback (most recent call last)
g:\<ipython console> in <module>()
C:\Python25\Lib\site-packages\IPython\iplib.py in ipmagic(self, arg_s)
962 else:
963 magic_args = self.var_expand(magic_args,1)
--> 964 return fn(magic_args)
965
966 def ipalias(self,arg_s):
C:\Python25\Lib\site-packages\IPython\Shell.py in magic_run(self, parameter_s)
544
545 def magic_run(self,parameter_s=''):
--> 546 Magic.magic_run(self,parameter_s,runner=self.mplot_exec)
547
548 # Fix the docstring so users see the original as well
C:\Python25\Lib\site-packages\IPython\Magic.py in magic_run(self, parameter_s, r
unner)
1679 if restore_main:
1680 sys.modules['__main__'] = restore_main
-> 1681 self.shell.reloadhist()
1682
1683 return stats
C:\Python25\Lib\site-packages\IPython\iplib.py in reloadhist(self)
1262
1263 if self.has_readline:
-> 1264 self.readline.clear_history()
1265 self.readline.read_history_file(self.shell.histfile)
1266
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'clear_hist
ory'
In [3]:
What should I do? I need to read the threads about pyreadline-1.4.3.
Is it close to being ready to go?
Thanks,
Ryan
More information about the IPython-user
mailing list