[IPython-user] readline woes on win32

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Feb 7 13:55:43 CST 2005

I am trying t get ipython on windows XP working (actually helping
someone over the phone).  I sent them a zip file with 

   162312 Oct 28 13:15 ctypes-0.9.2.win32-py2.3.exe
  1189211 Jan 28 13:43 ipython-0.6.10.win32-py23.exe
    89103 Feb  5 19:18 readline-1.12.win32.exe
     2193 Feb  7 11:39 README.txt
  4200485 Nov  3  2003 win32all-163.exe

which they installed.  When my colleague runs ipython, he gets the

C:\Python23\Scripts>C:\Python23\python.exe C:\Python23\scripts\ipython
Traceback (most recent call last):
  File "C:\Python23\scripts\ipython", line 26, in ?
    import IPython
  File "C:\Python23\Lib\site-packages\IPython\__init__.py", line 52, in ?
  File "C:\Python23\Lib\site-packages\IPython\Shell.py", line 30, in ?
    from IPython.iplib import InteractiveShell
  File "C:\Python23\Lib\site-packages\IPython\iplib.py", line 149, in ?
    from IPython import FlexCompleter
  File "C:\Python23\Lib\site-packages\IPython\FlexCompleter.py", line 192, in ?
AttributeError: 'module' object has no attribute 'set_completer'

And I had him open up a shell and do import readline / dir(readline) and 
there were only a few symbols (like __name__ and __file__ but not

Here is where it gets interesting.  When on the same machine ipython
is run as Administrator, it works, and when they do the import / dir
scenario above, the get all the symbols

readline.__file__ are the same when imported as either Administrator
or a normal user.


More information about the IPython-user mailing list