Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
apus-one opened this issue Nov 17, 2017 · 4 comments
Closed

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

apus-one opened this issue Nov 17, 2017 · 4 comments

Comments

@apus-one
Copy link

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

@jtackett
Copy link

+1

@cpina
Copy link

cpina commented Jan 7, 2018

Same here, solution worked.

@roncapat
Copy link

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.

@padelt
Copy link
Owner

padelt commented Jan 25, 2020

@moonpyk ‘s changes are merged now.

@padelt padelt closed this as completed Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants