Open scraperdragon opened 9 years ago
The default encoding for python3 is utf8, not to mention init explicitly declares utf-8 encoding. You definitely need to have utf8 installed properly on the system for python3 to work as expected in general. (The library appears to be doing the right thing here).
"ENV LANG en_US.UTF-8" is a pretty typical line in my Docker builds. It's what most Linux/Unix systems give you out of box these days. : )
I have a UTF-8 locale properly set and I still get this error (in my case, a run of tox with a Python 3.4 environment).
Specifically, the
ã
in your name in__init__.py
etc. causesread()
ing from that file insetup.py
to fail since it's not ASCII.Leaving one or both of the lines commented below causes
pip3
to fail to install. Uncommenting both makes it work successfully.Dockerfile: