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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top