Unable to install logging module (Python)

时光毁灭记忆、已成空白 提交于 2019-12-19 17:12:11

问题


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.

Thanks!


回答1:


logging is part of the Python standard library. It's available as soon as you install Python. You don't need to pip install anything...



来源:https://stackoverflow.com/questions/33175525/unable-to-install-logging-module-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!