欢迎来到德薄能鲜网

德薄能鲜网

AttributeError: module ‘openai’ has no attribute ‘error’

时间:2025-06-24 13:13:57 阅读(143)

题意。:访问 Python 中 openai。 模块中不存在的属性 error。

问题背景:

I'm running a Python summarizer in Azure ML that queries my gpt4 deployment for information. Everything was working fine until two days ago, when I decided to switch the output directory of the summaries to a different blob storage. Since then I am strangely getting the above error. My openAI version is 1.3.3 and langchain 0.0.301, and python 3.8. I have looked this up online and downgraded the version of openAI but it doesn't help. I've also tried the solutions here 

分享到:

温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!

友情链接: