[英]Unable to install logging module (Python)
I'm trying to install the logging module for Python 3.4.我正在尝试为 Python 3.4 安装日志记录模块。 I'm using pip3 install logging.我正在使用 pip3 安装日志记录。 Both times I run into a SyntaxError at line 618 of the init method: "raise NotImplementedError, 'emit must be implemented '\\".两次我都在init方法的第 618 行遇到 SyntaxError:“raise NotImplementedError,'emit must beimplemented '\\”。
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 .有人发布了与我相同的问题,并通过删除名为 logging: Logging module not working with Python3的干扰第三方库解决了他们的问题。
But I have no such library already installed in my site-packages directory.但是我的站点包目录中还没有安装这样的库。
Thanks!谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.