From: Aahz <aa...@py...> - 2015-06-02 21:49:53
|
On Tue, Jun 02, 2015, Vladimir Prus wrote: > > I'm trying to use docutils on Windows, with Python 3.4, and I get an error like this: > > Traceback (most recent call last): > File "C:/Users/Vladimir/Local/docutils-0.12/tools/rst2html.py", line 17, in <module> > from docutils.core import publish_cmdline, default_description > File "C:\Users\Vladimir\Local\docutils-0.12\docutils\__init__.py", line 68, in <module> > class ApplicationError(StandardError): > NameError: name 'StandardError' is not defined This looks like an improper 2to3 conversion: https://docs.python.org/3/library/2to3.html#2to3fixer-standarderror I haven't really used Python3 yet, so I have no idea what's going on, just felt like testing my research skills. ;-) -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ "Times are bad. Children no longer obey their parents, and everyone is writing a book." --Cicero |