Hi,
Your version of Sphinx doesn't seem to have been converted to Python 3.
Also, it doesn't seem you installed it using pip nor easy_install.
If you can't use one if this tools, you have to convert your
installation to Python 3 using 2to3 or you should use Python 2.
More information on 2to3 here: http://docs.python.org/library/2to3.html
Regards,
Thomas
Le 24/04/2012 15:29, todd rme a écrit :
I am having trouble building the documentation using python3 on
Linux. I am using the following command in the doc dir after
building:
export SPHINXBUILD="python3 ../sphinx-build.py"; make -e html
And here is the error I get:
Traceback (most recent call last):
File "../sphinx-build.py", line 15, in<module>
sys.exit(main(sys.argv))
File "/home/jennings/Downloads/Sphinx-1.1.3/sphinx/__init__.py",
line 47, in main
from sphinx import cmdline
File "/home/jennings/Downloads/Sphinx-1.1.3/sphinx/cmdline.py", line
198
except Exception, err:
^
SyntaxError: invalid syntax
make: *** [html] Error 1
Does anyone have any idea what might be going wrong?
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.