python-html2rest icon indicating copy to clipboard operation
python-html2rest copied to clipboard

syntax error in html2rest setup.py?

Open andrewscea opened this issue 12 years ago • 2 comments

I get continual syntax errors on this line when trying to install html2rest: print "running setup for html2rest version %s" % version

it seems to choke on the 2nd quotation mark. Running Python34 under cygwin 2.8 using pip install html2rest

andrewscea avatar Jul 24 '14 19:07 andrewscea

This is a Python 3 incompatibility error. The module needs to be updated for Python 3.

geekpradd avatar Apr 14 '15 05:04 geekpradd

I edited the line in the setup.py file as advised above

'print ("running setup for html2rest version %s" % version)'

I then ran

'python setup.py build'

in cmd followed by

'python setup.py install'

Thank you @andrewscea

rlkee888 avatar Jul 13 '15 07:07 rlkee888