7👍
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).
2👍
My PYTHONHOME
and PYTHONPATH
environment variables were pointing to the wrong version. By fixing this import sre_compile
was fixed.
- How to customize django rest auth password reset email content/template
- Is there a way to generate pdf containing non-ascii symbols with pisa from django template?
- Django ListView customising queryset
- What is the difference in use or inherit from APIView and Model ViewSet
- How to reload new update in Django project with Apache, mod_wsgi?
0👍
Make sure your installed python version matches exactly the version anaconda uses. If not get another python version.
On Windows you can see the anaconda python version in control center -> uninstall programm -> Name of Anaconda.
Also make sure there are no older python version installed (that still might have environmental variables that point to them).
- Are there problems developing Django on Jython?
- Dynamically loading django apps at runtime
- Using django with postman {"detail":"CSRF Failed: CSRF token missing or incorrect."}
- Using Django view variables inside templates
0👍
You can switch your Python version of Anaconda. There should be no need to uninstall Anaconda.
Check for available Python versions:
conda search python
Choose your preferred Python version:
conda install python=3.7.5
- Double curly brace {{
- "<Model> with this <field> already exist" on PUT call – Django REST Framework
- Infinite recursion while extending the admin's app change_form template