Python Forum
python and load balancer - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: python and load balancer (/thread-19862.html)



python and load balancer - pythonFresher - Jul-17-2019

Hi All,

I am planning to put a python script which should detect the current state of servers or server groups in the A10 load balancer. Found one library a10ctl and installed in the linux system. But it seems some error from the library which i am unable to understand.

a10ctl --help
Traceback (most recent call last):
  File "/usr/bin/a10ctl", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: setuptools>=11.3
Is there any other approach for this project.

Thanks


RE: python and load balancer - pythonFresher - Jul-18-2019

Resolved the error by upgrading the pip
pip install --upgrade pip