Traceback (most recent call last): File "/usr/local/bin/xhtml2pdf", line 9, in load_entry_point('xhtml2pdf==0.0.6', 'console_scripts', 'xhtml2pdf')() File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load ['__name__']) File "/usr/local/lib/python3.4/dist-packages/xhtml2pdf/__init__.py", line 41, in from xhtml2pdf.util import REPORTLAB22 File "/usr/local/lib/python3.4/dist-packages/xhtml2pdf/util.py", line 302 raise Exception, "box not defined right way" ^ SyntaxError: invalid syntax