Can't import crypt module under Python2.0

Andreas Jung andreas at andreas-jung.com
Wed Jan 10 15:13:30 EST 2001


On Wed, Jan 10, 2001 at 05:39:00PM +0000, Nick Moon wrote:
> Now this maybe something stupid that I have done but I would 
> like someone to check it.
> 
> I can't import the crypt module under Python2.0. It works with 
> Python 1.5.1 on the same Linux box.
> 
> Is this a bug? Could someone try it on a linux box and confirm 
> it works for them. (Don't bother on a windows box - crypt is a 
> unix thing). 

Maybe your Python 2.0 installation has been compiled without
the crypt module. You can enable this module by modifying
Modules/Setup.

Andreas 




More information about the Python-list mailing list