assert _sre.MAGIC == MAGIC是什么,SRE模块不匹配AssertionError:SRE模块不匹配错误是什么意思? [英] whats does assert _sre.MAGIC == MAGIC, SRE module mismatch AssertionError: SRE module mismatch error mean?

查看:606
本文介绍了assert _sre.MAGIC == MAGIC是什么,SRE模块不匹配AssertionError:SRE模块不匹配错误是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试运行python manage.py runserver命令,但收到此错误消息

文件"C:\ Users \ adrie \ Anaconda3 \ lib \ sre_compile.py",第17行,在 断言_sre.MAGIC == MAGIC,"SRE模块不匹配" AssertionError:SRE模块不匹配

有人知道这里发生了什么吗?

我以前安装了anaconda,并且运行良好.但是后来我卸载并重新安装了anaconda,现在又收到此错误.

解决方案

确保所使用的Python解释器版本(如3.7)与"re" python模块(如3.6.1)之间没有任何不匹配. >

Hello I´m trying to run a python manage.py runserver command but getting this error message

File "C:\Users\adrie\Anaconda3\lib\sre_compile.py", line 17, in assert _sre.MAGIC == MAGIC, "SRE module mismatch" AssertionError: SRE module mismatch

Does anyone have idea of what´s happening here?

I had anaconda installed previously and was running fine. But then I´ve deinstalled and reinstalled anaconda, and I´m getting this error now.

解决方案

Make sure you do not have any mismatch between Python interpreter version used (like 3.7) and the 're' python module (like 3.6.1).

这篇关于assert _sre.MAGIC == MAGIC是什么,SRE模块不匹配AssertionError:SRE模块不匹配错误是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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