SOAPpy installation error

Hi, I tried to install the SOAPpy module on my mac for python ...... I installed xml and fpconst and tried to install this SOAPpy module, but I got an error ... as shown below: venj: SOAPpy-0.12.0 venkata $ python setup.py build

Traceback (last last call):

File "setup.py", line 8, from SOAPpy.version import version File "/Applications/SOAPpy-0.12.0/SOAPpy/ init .py", line 5, from client import * File "/ Applications / SOAPpy- 0.12.0 / SOAPpy / Client.py ", line 46 from the future import nested_scopes

Syntax Error: from the future, import should occur at the beginning of the file

venj: SOAPpy-0.12.0 venkata $ python setup.py install

Traceback (last last call): File "setup.py", line 8, from SOAPpy.version import version File "/Applications/SOAPpy-0.12.0/SOAPpy/ init .py", line 5, from client import * File "/Applications/SOAPpy-0.12.0/SOAPpy/Client.py", line 46 from the future import nested_scopes Syntax Error: from the future, import should occur at the beginning of the file

Hey, please suggest me how to solve this error.

+3
source share
2 answers

Had the same problem.

You should have a “future import” at the top of each file where it was listed.

There must be a patch for this.

+1
source

, SOAP.py SOAP.py . python

0

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


All Articles