[Idle-dev] [ idlefork-Bugs-474215 ] ImportError: No module named warnings

noreply@sourceforge.net noreply@sourceforge.net
Tue, 23 Oct 2001 19:03:08 -0700


Bugs item #474215, was opened at 2001-10-23 12:25
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=474215&group_id=9579

Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Stephen M. Gava (elguavas)
Summary: ImportError: No module named warnings

Initial Comment:
I just downloaded idlefork-0.8.1 and tried to startup
idle:

>>>idlefork-0.8.1/idle
Traceback (most recent call last):
  File "/lib/python/idlefork-0.8.1/idle", line 3, in ?
    import PyShell
  File "/lib/python/idlefork-0.8.1/PyShell.py", line
32, in ?
    import warnings
ImportError: No module named warnings



Indeed, there is no "warnings" module present and my
current installed idle (idle-0.5) does not have this.
Commenting out the offending import statement allowed
idle to start up, but consequences are unknown.




----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)
Date: 2001-10-23 19:03

Message:
Logged In: YES 
user_id=75867

The warnings module is a part of python >= 2.1 .
INSTALL.txt included in the idlefork distribution clearly
states that python 2.1 or better is required to run
idlefork.  Please read the docs before submitting bug
reports, they're short! ;^)


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=474215&group_id=9579