Steven D'Aprano added the comment: It looks like your Python 3 is somehow using your Python 2 site directory. What does your PYTHONPATH contain?
Try running this: python3 -E -S -c "import sys; print(sys.path)" and see what it says. ---------- nosy: +steven.daprano type: crash -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27090> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com