By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,286 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,286 IT Pros & Developers. It's quick & easy.

[Newby] Problem with compilation.

P: n/a
Hi folks!

Can't compile my file due to some problems with crypt module.
My platform is WinXP:
First I launch my Python Shell,
Than I open the *.py file,
Next I press F5 to 'run module'
The message is: "ImportError: No module named crypt"

Few lines of code for example:

....
import posix
import posixpath
from crypt import *

startRecord = 0
inRecord = 1
....

Thanks for help.
Jul 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
The Python modules documentation indicates crypt is only available on Unix
platforms.

<ro*******@gazeta.pl> wrote in message
news:ma**************************************@pyth on.org...
Hi folks!

Can't compile my file due to some problems with crypt module.
My platform is WinXP:
First I launch my Python Shell,
Than I open the *.py file,
Next I press F5 to 'run module'
The message is: "ImportError: No module named crypt"

Few lines of code for example:

...
import posix
import posixpath
from crypt import *

startRecord = 0
inRecord = 1
...

Thanks for help.

Jul 18 '05 #2

P: n/a
There is a work-alike cross-platform "fcrypt.py" module which can be
used to replace crypt on non-unix platforms. Google to find it.

HTH,
Mike

j vickroy wrote:
The Python modules documentation indicates crypt is only available on Unix
platforms.

<original problem with lib requiring crypt snipped>
....
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com

Jul 18 '05 #3

P: n/a
Mike C. Fletcher wrote:
There is a work-alike cross-platform "fcrypt.py" module which can be used to replace crypt on
non-unix platforms. Google to find it.


(or read earlier posts to this thread)

</F>

Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.