83๐
The problem is with the new version of pymongo (4.0 from 29.11.2021) which is not supported by Djongo 1.3.6. You need to install pymongo 3.12.1. I had the same problem 2 hours ago.
21๐
The actual problem is with pymongo==4.0.1.
when installing the mongoengine by pip install mongoengine
it installs the pymongo==3.12.3
So, it is not necessary to again install mongoengine just install pymongo==3.12.3 by
pip install pymongo==3.12.3
.
- [Django]-What is the django template tag to get the number of items returned in a result set?
- [Django]-"Cannot filter a query once a slice has been taken"
- [Django]-Apache + mod_wsgi vs nginx + gunicorn
11๐
Install pymongo version
pip install pymongo==3.12.3
or change python version below 3.7
Due to version change error occurred
- [Django]-Module "django.core.context_processors" does not define a "auth" callable request processor
- [Django]-Os.getcwd() vs os.path.abspath(os.path.dirname(__file__))
- [Django]-Django connection to PostgreSQL: "Peer authentication failed"
- [Django]-Django-debug-toolbar breaking on admin while getting sql stats
- [Django]-How can I build multiple submit buttons django form?
- [Django]-Django โ Create A Zip of Multiple Files and Make It Downloadable
- [Django]-Update django database to reflect changes in existing models
- [Django]-Horizontal (per-row) forms in a Django formset
- [Django]-How to generate list of response messages in Django REST Swagger?
0๐
I changed my python version on python==3.6.9 and now it is working and migrate successfully.
- [Django]-Simple guestbook django: __init__() takes 1 positional argument but 2 were given
- [Django]-Unix timestamp to datetime in django with timezone
- [Django]-Django: When extending User, better to use OneToOneField(User) or ForeignKey(User, unique=True)?
- [Django]-Remove and ignore all files that have an extension from a git repository
- [Django]-How do I perform HTML decoding/encoding using Python/Django?
- [Django]-ImportError: cannot import name patterns
0๐
The incompatibility issue started with pymongo 4.0
, by installing the previous version=3.13.0
will "solve" this issue.
- [Django]-Django-rest-framework + django-polymorphic ModelSerialization
- [Django]-What is the difference between django classonlymethod and python classmethod?
- [Django]-When are create and update called in djangorestframework serializer?
- [Django]-How can I unit test django messages?
- [Django]-Django Admin's "view on site" points to example.com instead of my domain
- [Django]-Getting stuck at Django error: No module named registration
-2๐
Try to install django-mongoengine and it will solve the problem for sure.
- [Django]-ValueError: Missing staticfiles manifest entry for 'favicon.ico'
- [Django]-Django: How do I override app-supplied urls in my project urlconf?
- [Django]-Django and fieldsets on ModelForm