Dealing with pywin32 on Linux

Discussion in 'Python' started by Benedict Verheyen, Dec 15, 2010.

  1. Hi,


    I'm moving my development environment (python, Django, virtualenv) from Windows
    to Linux (Debian more specific). However, on one app (uses Django), i have a log on
    module that uses AD to authenticate users.
    It's based on the active_directory wrapper of Tim Golden.
    That needs the win32 module but installation of pywin32 fails on importing:

    import _winreg
    ImportError: No module named _winreg

    Kind of logical in hindsight :)

    However, this makes programming and testing under Linux a bit of a pain if you're
    dealing with Windows specific stuff.
    What is the correct way to proceed (i want to keep my development environment in Linux)?

    I could adjust my software modules to use the Linux counterparts of the AD functions
    that i have to authenticate.
    Or is there another way to deal with this?

    Thanks for any insight,

    Cheers,
    Benedict
     
    Benedict Verheyen, Dec 15, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Hammond
    Replies:
    11
    Views:
    1,034
    Robert
    Feb 17, 2004
  2. Michael Jordan
    Replies:
    2
    Views:
    3,679
    Michael Jordan
    Feb 12, 2004
  3. Bob Chapman

    pywin32 201.1 Windows98SE Problem?

    Bob Chapman, May 29, 2004, in forum: Python
    Replies:
    4
    Views:
    643
    Bob Chapman
    May 30, 2004
  4. Philip Rittenhouse

    pywin32 support for CreateTypeLib2

    Philip Rittenhouse, Jun 8, 2004, in forum: Python
    Replies:
    6
    Views:
    695
    Thomas Heller
    Jun 30, 2004
  5. Philip Rittenhouse
    Replies:
    0
    Views:
    476
    Philip Rittenhouse
    Jun 30, 2004
  6. neblackcat
    Replies:
    0
    Views:
    501
    neblackcat
    Jul 15, 2004
  7. Tim Golden
    Replies:
    2
    Views:
    819
    Mark Hammond
    Jul 19, 2004
  8. Replies:
    1
    Views:
    448
    Martin v. Löwis
    Jan 22, 2009
Loading...