On Wed, Nov 25, 2015 at 7:27 AM, <c.bu...@posteo.jp> wrote: > The problem happens with Python3 because "logging" is in the default > installation. In Python2 it is not installed. I installed it with > sudo python2 -m pip install logging -U > > This works without problems. Importing in Python2 works, too.
You appear to have installed it into your Python 3.4's package directory, so I suspect you didn't just use the command given. But don't bother installing it in Py2 either - the docs say it's "New in version 2.3", so unless you're supporting Python 2.2, you shouldn't need to worry about this. ChrisA -- https://mail.python.org/mailman/listinfo/python-list