简体   繁体   中英

AttributeError: 'module' object has no attribute 'cache'

import suds

s = suds.client.Client('http://hello-world.org/ttsoapcgi.wsdl',
                       cache=suds.cache.NoCache())

I am getting:

AttributeError: 'module' object has no attribute 'cache' for above line.

I have installed suds 0.3.7 version

What's the reason for this and how to solve this ?

Update suds version to 0.4

The API used is not present in suds 0.3.7 version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM