On 2011-11-02, James Maxwell wrote:

> [-- Type: text/plain, Encoding:  --]

> When I "make html" in Sphinx I'm getting syntax errors for Python 3 style 
> print statements such as:

> print(x,y,z,sep="\t",end="\n",file=data)
>                    ^
> SyntaxError: invalid syntax

> The code runs fine.  I must be missing something.  I installed Sphinx 
> version 1.1.2, but still no go.
> Thanks for any help you can give,

Could it be that you run a Sphinx set up with Python 3 under a Python 2
interpreter?

What version does a simple `python` command use?

What is the python command used in the makefile?

Did you do a parallel install under python 2 and 3?

Günter

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to