I'm trying to install the logging module for Python 3.4. I'm using pip3 install logging. Both times I run into a SyntaxError at line 618 of the __init__
method: "raise NotImplementedError, 'emit must be implemented '\".
Someone posted the same question as me, and solved their problem by deleting an interfering third party library called logging: Logging module not working with Python3.
But I have no such library already installed in my site-packages directory.
pip3 install
is to put things in thesite-packages
directory? And that you could not possibly get aSyntaxError
from this code if it weren't installed, since installing it is what makes it available to run? Therefore, you did, in fact, have it installed. – Orts