Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6596623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:05:59+00:00 2026-05-25T18:05:59+00:00

I am trying to install the basic ldap python module under cygwin. The following

  • 0

I am trying to install the basic ldap python module under cygwin. The following is failing:

%easy_install ldap
Searching for ldap...
..
No local packages or download links found for ldap

I am using cherrypy for an app which is running fine in Ubuntu, and planning to port it to cygwin so I can run the app under my Win7 lapop.

(I could install a Django-specific module django-auth-ldap, and tried to import that as ldap, but this does not seem to have an initialize method that the basic ldap module has.)

PS: I forgot to mention trying python-ldap, but ‘easy_install python-ldap’ fails due to some compilation errors:

.....
.....
Modules/constants.c: In function `LDAPinit_constants':
Modules/constants.c:153:1: error: `LDAP_OPT_DIAGNOSTIC_MESSAGE' undeclared (first use in this function)
Modules/constants.c:153:1: note: each undeclared identifier is reported only once for each function it appears in
Modules/constants.c:363:29: error: `LDAP_CONTROL_RELAX' undeclared (first use in this function)
error: Setup script exited with error: command 'gcc' failed with exit status 1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:06:00+00:00Added an answer on May 25, 2026 at 6:06 pm

    Another stackoverflow page came to rescue: python-ldap OS X 10.6 and Python 2.6

    The final solution:

    pip install python-ldap==2.3.13
    

    Noting it here so people facing this in cygwin can use this post.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
Trying to install the RMagick gem is failing with an error about being unable
I'm trying to install and run a basic iOS application on my iPhone. The
Trying to install pear package and keep getting this strange error. Can you shed
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running
When trying to install my 32bit service on a Windows 64bit machine my installer
I'm trying to install a .NET service I wrote. As recommended by MSDN, I'm
I'm trying to install Laconica , an open-source Microblogging application on my Windows development
I'm trying to install 'quadrupel', a library that relies on ffmpeg on Solaris x86.
I'm trying to install some Ruby Gems so I can use Ruby to notify

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.