[Newby] Problem with compilation.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    #1

    [Newby] Problem with compilation.

    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: "ImportErro r: No module named crypt"

    Few lines of code for example:

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

    startRecord = 0
    inRecord = 1
    ....

    Thanks for help.


  • j vickroy

    #2
    Re: [Newby] Problem with compilation.

    The Python modules documentation indicates crypt is only available on Unix
    platforms.

    <rootshell@gaze ta.pl> wrote in message
    news:mailman.74 25.1102619458.5 135.python-list@python.org ...[color=blue]
    > 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: "ImportErro r: No module named crypt"
    >
    > Few lines of code for example:
    >
    > ...
    > import posix
    > import posixpath
    > from crypt import *
    >
    > startRecord = 0
    > inRecord = 1
    > ...
    >
    > Thanks for help.
    >
    >[/color]


    Comment

    • Mike C. Fletcher

      #3
      Re: [Newby] Problem with compilation.

      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:
      [color=blue]
      >The Python modules documentation indicates crypt is only available on Unix
      >platforms.
      >
      >[/color]
      <original problem with lib requiring crypt snipped>
      ....
      _______________ _______________ _______________ ___
      Mike C. Fletcher
      Designer, VR Plumber, Coder



      Comment

      • Fredrik Lundh

        #4
        Re: [Newby] Problem with compilation.

        Mike C. Fletcher wrote:
        [color=blue]
        > 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.[/color]

        (or read earlier posts to this thread)

        </F>



        Comment

        Working...