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

Cannot install aiocoap due to not Non-ASCII character '\xc3' in file setup.py #22

Closed
claudyus opened this issue May 13, 2015 · 5 comments

Comments

@claudyus
Copy link

Inside the setup.py there is a non ascii char that prevent aiocoap to be installed using pip

SyntaxError: Non-ASCII character '\xc3' in file setup.py on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Can you add # -*- coding: utf-8 -*- and repub on PyPi?

@chrysn
Copy link
Owner

chrysn commented May 13, 2015

Which Python version are you using? All supported Python versions (ie. 3.3 and later) should work with UTF8 source files without issues.

@claudyus
Copy link
Author

I use the distro default 2.7, I will try to update to py3 in my Openwrt system and retry

@chrysn
Copy link
Owner

chrysn commented May 13, 2015

One usually doesn't upgrade to Python 3, but installs it in addition. It looks as if OpenWRT has slimmed down python3 and stored some core libraries to extra packages; you might need the python3-asyncio package as well. As far as I know, Python 3 is not available in Barrier Breaker, but only in the daily builds.

@undercase
Copy link

You may want to look at txThings if you need to stick with Python 2, it doesn't rely on any Python 3 libraries.

@claudyus
Copy link
Author

@superman3275 thanks, I will check it

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

3 participants