[IPython-user] Crash

Robin Siebler Robin.Siebler at palmsource.com
Thu Mar 27 17:14:45 CST 2003


>My python2.2 installation doesn't even have the curses\ directory, for some 
>odd reason.

I'm using ActivePython 2.2.1

>Could you try doing
>In [1]: import curses

In [1]: import curses
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

?

C:\Python22\lib\curses\__init__.py
     13 __revision__ = "$Id: __init__.py,v 1.4 2001/04/05 16:08:41 akuchling Exp
 $"
     14
---> 15 from _curses import *
     16 from curses.wrapper import wrapper
     17

ImportError: No module named _curses

-----Original Message-----
From: Fernando Perez [mailto:fperez at colorado.edu]
Sent: Thursday, March 27, 2003 3:03 PM
To: Robin Siebler
Cc: ipython-user at scipy.net
Subject: Re: [IPython-user] Crash


Could you try doing

In [1]: import curses

In [2]: print curses.__file__
/usr/lib/python2.2/curses/__init__.pyc

in an IPython session?  I'd like to see if for some strange reason under 
ipython the ImportError isn't triggered.

This one is rather misterious.

Cheers,

f





More information about the IPython-user mailing list