Can't import crypt module under Python2.0
Nick Moon
ncmoon at cix.co.uk
Thu Jan 11 07:40:00 EST 2001
In article <mailman.979157714.18999.python-list at python.org>,
andreas at andreas-jung.com (Andreas Jung) wrote:
>
> Maybe your Python 2.0 installation has been compiled without
> the crypt module. You can enable this module by modifying
> Modules/Setup.
>
> Andreas
>
Thanks. Spot on. Just un-commented the line for crypt (it needs
the -lcrypt option on my linux setup) and rebuilt and it works.
Also works in my embedded python program with a bit of mucking
about.
Cheers
Nick.
-------------------------------------------
Nick Moon (Software Services)
=============================
e-mail: ncmoon at justclaim.co.uk
web: www.justclaim.co.uk
-------------------------------------------
More information about the Python-list
mailing list