pip install枚举不起作用,显示"intflag"错误没有 [英] pip install enum not working showing the error of 'intflag' doesnt have

查看:80
本文介绍了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 aenum1.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆