By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,922 Members | 1,689 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,922 IT Pros & Developers. It's quick & easy.

SOAPpy SyntaxError

P: n/a
Hello,

I'm going through the SOAP Web Services portion of Mark Pilgrim's
tutorial and I'm getting this error when trying to build:

python setup.py build
Traceback (most recent call last):
File "setup.py", line 8, in <module>
from SOAPpy.version import __version__
File "/Users/username/Desktop/SOAPpy-0.12.0/SOAPpy/__init__.py",
line 5, in <module>
from Client import *
File "/Users/username/Desktop/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

I tried moving that line and it didn't help.

Thanks,

Jason
Nov 20 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ne*****@gmail.com wrote:
I'm going through the SOAP Web Services portion of Mark Pilgrim's
tutorial and I'm getting this error when trying to build:

File "/Users/username/Desktop/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

I tried moving that line and it didn't help.
I was able to successfully move that line to the very top of the file in
each of the files it errored in. There are quite a number of them and
it must be done in all files that contain that line.

I really wish that SOAPpy wasn't so dead. There are a few other bugs
that I found as well revolving around namespace errors but I never had
time to debug them properly to contribute a patch.

Nov 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.