【摘要】 AssertionError: SRE module mismatch引言在 Python 编程中,AssertionError 异常通常表示断言条件不满足,导致断言失败。然而,在某些情况下,我们可能会遇到 "AssertionError: SRE module mismatch" 的错误。这个错误与 Python 的正则表达式模块(SRE)相关,它指示正则表达式引擎的版本不匹配。在本文中,... Assertio...
<module> import sre_compile File "D:\Program Files\WindowsApps\64343GTDocStudio.OfficeDocOpener_3.2.19.0_x86__3h5nez1g3qt2c\program\python-core-3.5.7\lib\sre_compile.py", line 17, in <module> assert _sre.MAGIC == MAGIC, "SRE module mismatch" AssertionError: SRE module mismatch at ...
AssertionError: SRE module mismatch Traceback (most recent call last): File "D:/project/pose/simple-HRNet/models/hrnet.py", line 1, in <module> import torch File "D:\ProgramData\Miniconda3\lib\site-packages\torch\__init__.py", line 15, in <module> import platform File "D:\ProgramData...
Lib\glob.py", line 4, in <module> import re File "C:\Python34\Lib\re.py", line 123, in <module> import sre_compile File "C:\Python34\Lib\sre_compile.py", line 18, in <module> assert _sre.MAGIC == MAGIC, "SRE module mismatch" AssertionError: SRE module mismatch C:\Users\...
Lib\glob.py", line 4, in <module> import re File "C:\Python34\Lib\re.py", line 123, in <module> import sre_compile File "C:\Python34\Lib\sre_compile.py", line 18, in <module> assert _sre.MAGIC == MAGIC, "SRE module mismatch" AssertionError: SRE module mismatch C:\Users\...