[python-ldap] Latest version 2.5.2 does not pip install properly

Carl Nobile carl.nobile at gmail.com
Thu Nov 30 11:23:57 EST 2017


Petr,

Right, I need to use python 3. It looks like pyldap work fine with python
3, when will that code be merged into python-ldap?

Thanks

On Thu, Nov 30, 2017 at 11:18 AM, Petr Viktorin <pviktori at redhat.com> wrote:

> On 11/30/2017 05:04 PM, Carl Nobile wrote:
>
>> Hi all,
>>
>> I'm trying to install python-ldap-2.5.2 in a virtual environment and
>> I get the error below. Has the `ConfigParser` package been left out of the
>> setup file's `install_requires` argument?
>>
>
> Hello!
> The ConfigParser module is part of Python's standard library; it should
> always be available.
>
> Maybe you're trying with Python 3? python-ldap-2.5.2 only supports Python
> 2.7. (But a python3-compatible version is in the works.)
>
>
>
>
>> Collecting python-ldap (from -r requirements/base.txt (line 34))
>>    Using cached python-ldap-2.5.2.tar.gz
>>      Complete output from command python setup.py egg_info:
>>      Traceback (most recent call last):
>>        File "<string>", line 1, in <module>
>>        File "/tmp/pip-build-n7bi9m4s/python-ldap/setup.py", line 9, in
>> <module>
>>          from ConfigParser import ConfigParser
>>      ImportError: No module named 'ConfigParser'
>>      ----------------------------------------
>> Command "python setup.py egg_info" failed with error code 1 in
>> /tmp/pip-build-n7bi9m4s/python-ldap/
>>
>>
> --
> Petr Viktorin
>



-- 
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
carl.nobile at gmail.com
-------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20171130/05f00170/attachment.html>


More information about the python-ldap mailing list