I finaly solved the issue by uninstalling the langchain package and reinstalling it (only this package), even if it was looking up-to-date (the rest was up-to-date as well)