Just tried upgrading llama-index (python) from 0.9.30 to 0.9.40 and got this error. Is this common and how do i fix this?
web-1 | [2024-02-01 10:55:21 +0000] [8] [ERROR] Exception in worker process
web-1 | Traceback (most recent call last):
web-1 | File "/usr/local/lib/python3.11/site-packages/llama_index/storage/kvstore/mongodb_kvstore.py", line 69, in from_uri
web-1 | from motor.motor_asyncio import AsyncIOMotorClient
web-1 | ModuleNotFoundError: No module named 'motor'
web-1 |
web-1 | During handling of the above exception, another exception occurred:
Edit: Seems to be that the Mongo driver changed from pymongo to motor for some reason. Is this correct? I needed to change my requirements.txt unfortunately.