hi
i am developing web services on MAC SYSTEM by using python-SOAP-ZSI tool. but i am getting this error when i am trying to install. so it is not working . so can u tell me how to overcome this error.
"SyntaxError: from __future__ imports must occur at the beginning of the file"

Check your Python code file, should have extension .py, and make sure the first active code line (other then comments) is something like ...

from __future__ import with_statement

The above import line for example is used by Python25 if you want to use the with statement, which has become standard with Python3 versions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.