Import error on Django master (3.0) due to django.utils.six
See original GitHub issuedjango.utils.six has been removed on Django master, so this fails unless six
is installed
try:
from django.utils import six
except ImportError:
import six
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
ImportError: cannot import name 'six' from 'django.utils'
It tells you two important things: ... It is first telling you it cannot import the six module from django.utils , which is...
Read more >ImportError: cannot import name 'six' from 'django.utils'
The most common cause of the error is having an outdated version of a package that uses django.utils.six under the hood.
Read more >ImportError cannot import name six from django utils path-to ...
ecently, I upgraded the version of Django framework from 2.0.6 to 3.0 and suddenly after calling python manage.py shell command, ...
Read more >Import error on Django master (3.0) due to django.utils.six #225
django.utils.six has been removed on Django master, so this fails unless six is installed try: from django.utils import six except ImportError: import six....
Read more >Removing and renaming Django's Python 2 related helpers
A related issue is the naming of the force_text() / force_str() and smart_text() / smart_str() functions. Aymeric proposed a PR to change all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve already created a pull request solving this issue
Looks like this project is abandoned, we’ve migrated to https://github.com/rpkilby/jsonfield2 instead.