-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: "cannot pickle '_thread.RLock' object" from "import paperqa" (dependency on openai <= 0.28.1?) #236
Comments
Actually same from "import paperqa". |
I've established that I get this pickle error if I install openai > 0.28.1 . I guess paperqa doesn't support openai > 0.28.1 ? Unfortunately I also need openai > 0.28.1 for other code in the same python script, so I'm at something of a loss! Am I mising something, or do I have to import openai-0.28.1 for paperqa to work? |
Update: I tried installing paperqa==4.0.0rc8 and now I can import openai==1.12.0 and it imports and works great. So I will just stay on the v4 release train! Is there any downside to using these prerelease packages? |
Closing since the prerelease works. |
Hi: on my Mac, I just updated paperqa from 3.13.2 to the latest, but now I'm getting this "cannot pickle '_thread.RLock' object" exception when I try to import paperqa. Any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: