Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SOAPpy installation error

Tags:

soappy

Hi i was trying to install SOAPpy module on my mac for python...... i installed xml and fpconst and tried installing this SOAPpy module, but i was getting the error... as below: venj:SOAPpy-0.12.0 venkata$ python setup.py build

Traceback (most recent call last):

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

SyntaxError: from future imports must occur at the beginning of the file

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

Traceback (most recent call last): File "setup.py", line 8, in from SOAPpy.version import version File "/Applications/SOAPpy-0.12.0/SOAPpy/init.py", line 5, in from Client import * File "/Applications/SOAPpy-0.12.0/SOAPpy/Client.py", line 46 from future import nested_scopes SyntaxError: from future imports must occur at the beginning of the file

Hey please suggest me how to solve this error.


1 Answers

Had the same problem.

You have to "future import" to the beginning of everyfile where it's stated.

There should be a patch for that.

like image 178
philgo20 Avatar answered May 24 '26 17:05

philgo20



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!