Matthias Klose added the comment: this can be avoided when running python with -S, the error comes from a package installed in site-packages. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17763> _______________________________________