Python - foam - no module

I installed Python 2.7.1, setuptools and suds 0.4.

When running my script, I get the following error:

Traceback (last last call): File "C: \ Python27 \ test.py", line 5, from suds.client import Client # suds soap client ImportError: no module named suds.client

It seems that Python cannot find the foam library. But I can’t understand why ...

Any help would be greatly appreciated.

Also, it seems that the foam is not supported. What do you use to call your web services using Python?

+4
source share
2 answers

It seems that the foam is not actually set.

Since you have setuptools, try:

easy_install https://fedorahosted.org/releases/s/u/suds/python-suds-0.4.tar.gz 
+15
source

To simplify installation and bug fixes, I put the suds folder from suds-jurko (and the ntlm folder from python-ntlm ) next to the main.py file of my new maintenance tool. Thus, to install it requires a minimum of specialized knowledge:

  • Tool.zip to C:\
  • Run C:\Tool\Tool.bat

I could probably add a Python interpreter there too. This is how much Python compilers work.

0
source

Source: https://habr.com/ru/post/1347871/


All Articles