cannot import name 'six' from 'django.utils' (I:\erp\erp\lib\site-packages\django\utils\__init__.py)
AhmedSalam22 opened this issue · 3 comments
AhmedSalam22 commented
megamayoy commented
@AhmedSalam22
the django.utils.six module was removed starting from Django 3.0 so , all you need to do is upgrade the django-compressor version from 2.3 to 2.4 by running
pip install django-compressor==2.4
Hope this helps
AhmedSalam22 commented
@megamayoy thank you so much
loleg commented
Alternatively, remove compressor from your settings.py
if you don't plan to use it for the time being, and the project starts up just fine.