成功解决AttributeError: module 'enum' has no attribute 'IntFlag'?

目录

解决问题

解决思路

解决方法


解决问题

AttributeError: module 'enum' has no attribute 'IntFlag'?

解决思路

This is likely caused by the package enum34. Since python 3.4 there's a standard library enum module, so you should uninstall enum34, which is no longer compatible with the enum in the standard library since enum.IntFlag was added in python 3.6.
这可能是由包Enum34引起的。因为Python3.4有一个标准库枚举模块,所以您应该卸载Enum34,因为在Python3.6中添加了Enum.Intflag,所以它不再与标准库中的枚举兼容。

解决方法

pip uninstall enum34   #卸载enum34


大功告成!!哈哈!!

网友推荐解决方法:欢迎各路网友,前来共同探讨出错问题,解决bug,共享快乐!

用不了pip的网友,可直接删掉\Lib\site-packages\enum打头的两个文件夹即可!

成功解决AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘?相关推荐

  1. pyinstall :打包 .exe 文件报错AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘

    有疑问的地方 参考博文 一.环境搭建 Python GUI图形化小工具编程学习-- PySide2 环境搭建(一) 二.实例演示 Python GUI图形化小工具编程学习-- Demo 实例演示(二) ...

  2. 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘

    成功解决AttributeError: module 'tensorflow' has no attribute 'placeholder' 目录 解决问题 解决思路 解决方法 T1.降低tensor ...

  3. 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘

    成功解决AttributeError: module 'tensorflow' has no attribute 'contrib' 目录 解决问题 解决思路 解决方法 解决方法

  4. 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘get_variable‘

    成功解决AttributeError: module 'tensorflow' has no attribute 'get_variable' 目录 解决问题 解决思路 解决方法 解决问题 Attri ...

  5. 成功解决AttributeError: module ‘seaborn‘ has no attribute ‘lvplot‘

    成功解决AttributeError: module 'seaborn' has no attribute 'lvplot' 目录 解决问题 解决思路 解决方法 解决问题 AttributeError ...

  6. 成功解决AttributeError: module tensorflow has no attribute placeholder

    成功解决AttributeError: module 'tensorflow' has no attribute 'placeholder' 目录 解决问题 解决思路 解决方法 解决问题 Attrib ...

  7. 成功解决AttributeError: module tensorflow has no attribute random_normal

    成功解决AttributeError: module 'tensorflow' has no attribute 'random_normal' 目录 解决问题 解决思路 解决方法 解决问题 Attr ...

  8. 成功解决AttributeError: module tensorflow has no attribute reset_default_graph

    成功解决AttributeError: module 'tensorflow' has no attribute 'reset_default_graph' 目录 解决问题 解决思路 解决方法 T1. ...

  9. TF版本升级问题:成功解决AttributeError: module tensorflow has no attribute mul

    TF版本升级问题:成功解决AttributeError: module 'tensorflow' has no attribute 'mul' 目录 解决问题 解决思路 解决方法 解决问题 Attri ...

最新文章

  1. [转]如何借助 TLS/SSL 确保套接字连接的安全(使用 C#/VB/C++ 和 XAML 的 Windows 应用商店应用)...
  2. 篝火 2004 年11-15
  3. Idoc学习笔记----获取查询Idoc信息
  4. SAP Cloud for Customer(C4C)前台显示的数据是如何从后台读取的
  5. mysql查看客户端执行的语句_查看MySQL最近执行的语句-阿里云开发者社区
  6. 关于System.AccessViolationException异常
  7. VBA中,可以利用下面的语句来调用Excel内置对话框
  8. homework week02
  9. 携程瘫痪非偶然 国内互联网企业漠视数据管理
  10. RESCN.NET全站系统 [重量级全源码发布][原创]
  11. 图像原始格式 YUV444 YUV422 YUV420 详细解析
  12. 小米平板刷机shell怎么退_黑龙江省宁安市小米平板1的刷机经历刷入DotOS并退回MIUI-最懂产品的运维...
  13. 软件测试流程图Bug管理流程图
  14. esc pos命令 java使用_18、ESC/POS指令集在android设备上使用实例(通过socket)
  15. vue实现刷新页面随机切换背景图【适用于登陆界面】
  16. 基于图像变换的最小二乘法及其应用(新生研讨课)
  17. 520情人节了,教你如何制作自己的表白网站(附模板源码)
  18. java后台 学习顺序
  19. day94-20180921-英语流利阅读
  20. “王者荣耀”与大数据平台的产品化思想

热门文章

  1. STM32F105使用固件库的时候串口乱码解决方法
  2. 一文读懂 Spring Boot、微服务架构和大数据治理三者之间的故事
  3. 有进步--第二周作业
  4. 居民身份证号码的奥秘及身份证第18位(校验码)的计算方法
  5. RabbitMQ消息队列(二):”Hello, World“
  6. 读书笔记《React引领未来的用户界面开发框架》
  7. 安装Mysql与nginx结合的小型服务
  8. shell脚本不暂停进程,暂停几秒执行下一条shell命令
  9. 实现延时任务的 4 种实现方案!
  10. java.lang.String 的 + 号操作,这个谜终于要解开了!