Open mattkrins opened 2 years ago
We have been experiencing the same issue with this package. I am not really sure why it seems to only be an issue for this specific package.
I am not really sure why it seems to only be an issue for this specific package. The hint comes from
note: This error originates from a subprocess, and is likely not a problem with pip.
The python-ldap install script must grab additional files using a subprocess using its own getter which ignores the proxy params passed to pip.
I gave up on this library in our enterprise environment a long time ago and have since migrated to Node & ldapjs instead which works behind proxy servers.
This feedback is helpful, thank you for the information.
@markandrewj @mattkrins just facing same issue today you just need to export both env proxy variable : export https_proxy=http://XXXXXX:1234/ export http_proxy=http://XXXXXX:1234/
If you define only your http_proxy its not working looks like python-ldap lib check https_proxy one.
Issue description: Installation/Build fails behind proxy server
From the output it seems setuptools may be failing to download a required submodule, however the error does not indicate which one.
Steps to reproduce: Attempt to install/build python-ldap using pip behind a proxy server.
pip install --proxy=http://server:port python-ldap
Operating system: Linux/Ubuntu Python version: 3.10.4 python-ldap version: All versions