Python Forum

Full Version: python and load balancer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Resolved the error by upgrading the pip
pip install --upgrade pip