Zyesh Femina
Zyesh Femina

Reputation: 98

class HttpTransport has no attribute '_HttpTransport__get_request_url' python error

I am getting the following error "class HttpTransport has no attribute '_HttpTransport__get_request_url'" from the python built-in files, while calling the one of the API's mutate method

I don't know which library to upgrade or what to do.Please suggest a solution.

Upvotes: 2

Views: 972

Answers (1)

Denrasill
Denrasill

Reputation: 31

I happened to run into same issue while using googleads module, it seems the mentioned class HttpTransport belongs to suds.transport.http, while the method __get_request_url is specific for suds-jurko package.

I suggest to uninstall both suds and suds-jurko packages first.

pip uninstall suds-jurko
pip uninstall suds

After that reinstall them in following order:

pip install suds
pip install suds-jurko

Upvotes: 3

Related Questions