[python-ldap] Couple of problems in pip install

Michael Ströder michael at stroeder.com
Wed Nov 1 15:28:09 EDT 2017

Prabhav Parashar wrote:
> Hi it seems that in the setup.py file from the PyPi repo there are a
> couple of typos resulting in failed installation, the most obvious of
> which is a missing parenthesis

Works for me (see below).

Please elaborate on what *exactly* you're doing.

Ciao, Michael.

P.S.: You should subscribe to the python-ldap mailing list. Otherwise
you might miss responses.

--------------------------- snip ---------------------------
$ virtualenv-2.7 pyldaptest
New python executable in /tmp/pyldaptest/bin/python2
Also creating executable in /tmp/pyldaptest/bin/python
Installing setuptools, pip, wheel...done.
$ pyldaptest/bin/python2
python2    python2.7
michael at nb2:~/tmp> pyldaptest/bin/pip2
pip2    pip2.7
michael at nb2:~/tmp> pyldaptest/bin/pip2.7 install python-ldap
Collecting python-ldap
  Downloading python-ldap-2.4.45.tar.gz (296kB)
    100% |████████████████████████████████| 296kB 1.7MB/s
Requirement already satisfied: setuptools in
./pyldaptest/lib/python2.7/site-packages (from python-ldap)
Building wheels for collected packages: python-ldap
  Running setup.py bdist_wheel for python-ldap ... done
  Stored in directory:
Successfully built python-ldap
Installing collected packages: python-ldap
Successfully installed python-ldap-2.4.45
$ pyldaptest/bin/python2.7 -c "import ldap ; print ldap.__version__"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20171101/d6c52ce2/attachment.bin>

More information about the python-ldap mailing list