[IPython-user] iPython doesn't work on Windows

Ville M. Vainio vivainio@gmail....
Sat Mar 8 00:53:18 CST 2008


On Fri, Mar 7, 2008 at 7:00 PM, Mr. SpOOn <mr.spoon21@gmail.com> wrote:

>  I tried to install iPython on Windows XP, but when I try to load it i
>  get this error:
>
>  Traceback (most recent call last):
>   File "C:\programmi\Python25\scripts\IPython.py", line 26, in <module>
>    import IPython
>   File "C:\programmi\Python25\scripts\IPython.py", line 27, in <module>
>    IPython.Shell.start().mainloop()
>  AttributeError: 'module' object has no attribute 'Shell'

What happens here is that "Import IPython" import ipython.py (the
startup script), not IPython the module.

Try changing "import IPython" to "import IPython.Shell" and  tell me
if it works.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list