成功解决File "f:\program files\python\python36\lib\re.py", line 142, in <modul

目录

解决问题

解决思路

解决方法


解决问题

File "f:\program files\python\python36\lib\re.py", line 142, in <module>
    class RegexFlag(enum.IntFlag):

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

解决思路

属性错误:模块“enum”没有属性“intflag”

解决方法

很可能是因为设置了PYTHONPATH环境变量。这将导致无法调用正常的自己的库,因此建议在打开python前执行  unset PYTHONPATH

成功解决File amp;quot;f:\program files\python\python36\lib\re.pyamp;quot;, line 142, in amp;lt;modul相关推荐

  1. 成功解决FileNotFoundError: [Errno 2] No such file or directory: 'F:\\Program Files\\Python\\Python36\\li

    成功解决FileNotFoundError: [Errno 2] No such file or directory: 'F:\\Program Files\\Python\\Python36\\li ...

  2. 成功解决Exception unhandled OSError cannot open resource File: F:\Program Files\Python\Python36\Lib\si

    成功解决Exception "unhandled OSError" cannot open resource File: F:\Program Files\Python\Pytho ...

  3. 成功解决PermissionError(权限拒绝解决答案集锦): [Errno 13] Permission denied: ‘f:\\program files\\python\\python36\

    成功解决PermissionError(权限拒绝解决答案集锦): [Errno 13] Permission denied: 'f:\\program files\\python\\python36\ ...

  4. 成功解决Fatal error in launcher: Unable to create process using ‘“f:\program files\python\python36\pytho

    成功解决Fatal error in launcher: Unable to create process using '"f:\program files\python\python36\ ...

  5. 成功解决WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package

    成功解决WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package ...

  6. 完美解决ERROR: Command errored out with exit status 1: command: ‘f:\program files\python\python36\pyt

    完美解决ERROR: Command errored out with exit status 1: command: 'f:\program files\python\python36\pyt 文章 ...

  7. 成功解决Exception unhandled RuntimeError run loop already started File: F:\Program Files\Python\Python

    成功解决Exception "unhandled RuntimeError" run loop already started File: F:\Program Files\Pyt ...

  8. 成功解决File frozen importlib._bootstrap, line 219, in _call_with_frames_removed ImportError: DLL lo

    成功解决File "frozen importlib._bootstrap", line 219, in _call_with_frames_removed ImportError ...

  9. 成功解决Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'f:\\program files\\p

    成功解决Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问.: 'f:\\program files\\p ...

最新文章

  1. “买傅园慧送胡歌”,信息安全何以如此廉价
  2. MySQL show processlist说明
  3. Android --- 无法预览xml布局视图的解决办法
  4. shell 变量相关的命令
  5. 《Java和Android开发实战详解》——2.2节构建Java应用程序
  6. IDE 插件新版本发布,总有一个功能帮到你——开发部署提速 8 倍
  7. 学习笔记:2019 张小龙在微信公开课上的演讲
  8. reduce 数据倾斜_Spark(四十)数据倾斜解决方案之将reduce join转换
  9. 电脑屏幕卡住了按什么都没反应_90%的电脑问题都能解决,只要学会这8个字!...
  10. [转]Java杂谈(六)
  11. ntko php,NTKO 附件管理控件_
  12. 【第63期】机器人时代已来!推荐几本机器人学硬核好书
  13. typedef struct LNode *p和typedef struct LNode笔记
  14. win10 uwp 自定义控件初始化
  15. java 监测粘贴板事件_Java 监视系统剪贴板
  16. 因式分解用python写程序_使用Python实现质因式分解算法
  17. 在html中书名号怎么写,html范本
  18. Java8 Lamda和Stream流你真的会用了嘛?
  19. Kali Linux 使用记录
  20. 第九天 (集合 ArrayList)

热门文章

  1. go语言有哪些劣势?
  2. 腾讯云使用Python发邮件
  3. 在Visual Studio 2019中修改项目名
  4. Git学习(一)git服务器的简易搭建
  5. 使用excel批量创建android联系人
  6. Java多线程:捕获线程异常
  7. 天天写业务代码?写业务代码中的成长机会!
  8. Go语言TCP网络编程(详细)
  9. Javascript面向对象编程(二):构造函数的继承
  10. 线程同步:Condition