Closed DiogoR23 closed 5 days ago
Hello, sorry the late reply. The error you mention generally comes e.g. on a Python runtime that has no bson
package at all (this is how I reproduced it right now).
But your poetry show
gives bson==0.5.10
, the very same on which I could run the troublesome import line right now: poetry run python -c "from bson.objectid import ObjectId"
seems to work fine indeed.
Is it possible perhaps that the LangChain script you are running is started with a different command, that sets a different environment (e.g. one without bson
package) ?
Hi
I am trying to load the AstraDBVectorStore library but it appears me this error.
This is the problem I am trying to solve:
Poetry show: