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).
You need reinstall IDLE or anaconda
My PYTHONHOME
and PYTHONPATH
environment variables were pointing to the wrong version. By fixing this import sre_compile
was fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With