padelt/temper-python

setup.py failed on python 2.7.6 due to line 10

apus-one opened this issue · 4 comments

setup.py failed on python 2.7.6 due to line 10.

long_description=open('README.md', encoding='utf-8').read(),

changed line to:

long_description=open('README.md').read().decode('utf-8'),

as per:
dreikanter/wp2md#18

then it worked.

Thanks, apus-one

+1

cpina commented

Same here, solution worked.

encoding parameter exist only in Python 3 for function open().
Using: sudo python3 setup.py install worked, but as @apus-one says, that line in setup.py should be changed.

@moonpyk ‘s changes are merged now.