Forum Discussion

Jae_Hong_Kim_32's avatar
Jae_Hong_Kim_32
Icon for Nimbostratus rankNimbostratus
May 18, 2017

Bigsuds Install Error

Installing Bigsuds Error

 

It's asking for the module named client. How do I install this?

 

[root@localhost bigsuds-1.0.1] python3 setup.py install

 

File "/tmp/easy_install-lzujz1_3/suds-0.4/setup.py", line 20, in 'Programming Language :: Python :: 2',

 

File "/tmp/easy_install-lzujz1_3/suds-0.4/suds/__init__.py", line 154, in

 

ModuleNotFoundError: No module named 'client'

 

1 Reply

  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    If you look at the setup.py it supports only till Python 2.7

    from setuptools import setup
    import re
    
    
    def extract_version(filename):
        contents = open(filename).read()
        match = re.search('^__version__\s+=\s+[\'"](.*)[\'"]\s*$', contents, re.MULTILINE)
        if match is not None:
            return match.group(1)
    
    setup(
        name="bigsuds",
        version=extract_version('bigsuds.py'),
        description='Library for F5 Networks iControl API',
        license='https://devcentral.f5.com/resources/devcentral-eula',
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'Programming Language :: Python :: 2',
            'Programming Language :: Python :: 2.4',
            'Programming Language :: Python :: 2.5',
            'Programming Language :: Python :: 2.6',
            'Programming Language :: Python :: 2.7',
        ],
        keywords='f5 icontrol',
        author='F5 Networks, Inc.',
        author_email='devcentral@f5.com',
        url='http://devcentral.f5.com',
        install_requires=['suds>=0.4'],
        py_modules=['bigsuds'],
        test_suite='nose.collector',
        tests_require=['nose', 'mock', 'mox'],
    )