I have migrated from trulens_eval to trulens and I am now facing a "module 'trulens.core.utils.threading' has no attribute 'Lock'" error. #2300
Unanswered
emmanouilvoitsidis
asked this question in
Q&A
Replies: 1 comment 8 replies
-
|
The error happens because Also, for your imports:
So, your updated imports should look like: from trulens.core.session import TruSession
from trulens.core.feedback.feedback import Feedback
from trulens.providers.openai.provider import OpenAI as fOpenAI
from threading import Lock # if you need LockIf you have any lingering references to To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have migrated from trulens_eval to trulens and I am now facing a "module 'trulens.core.utils.threading' has no attribute 'Lock'" error.
My new imports are:
And the previous ones are:
I have made the change from Tru to TruSession in my code. I am in version 2.3.1. I couldn't find anything relevant in the documentation. Any idea why this is happening? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions