pip install枚举不起作用,显示"intflag"错误没有 [英] pip install enum not working showing the error of 'intflag' doesnt have
本文介绍了pip install枚举不起作用,显示"intflag"错误没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
pip安装枚举 无法正常显示错误 AttributeError:模块枚举"没有属性"IntFlag"
pip install Enum is not working is showing the error of AttributeError:module 'enum' has no attribute 'IntFlag'
推荐答案
enum34
是stdlib Enum
反向端口,但仅支持3.5版本以内的功能.如果要在3.6中找到功能,则需要使用aenum
1 .
enum34
is the stdlib Enum
backport, but it only supports features found up to 3.5. If you want features found in 3.6 you'll need to use aenum
1.
1 披露:我是 Python的作者stdlib Enum
, enum34
反向端口和高级枚举(aenum
)库.
1 Disclosure: I am the author of the Python stdlib Enum
, the enum34
backport, and the Advanced Enumeration (aenum
) library.
这篇关于pip install枚举不起作用,显示"intflag"错误没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文