錯誤如下
Traceback (most recent call last): File "C:\Users\Fater\Desktop\py\ebook-GPT-translator\text_translation.py", line 169, in <module> print("未检测到OpenAI API 代理,当前使用api地址为: " + openai.api_base) ^^^^^^^^^^^^^^^ AttributeError: module 'openai' has no attribute 'api_base'. Did you mean: 'api_type'?
錯誤如下
Traceback (most recent call last): File "C:\Users\Fater\Desktop\py\ebook-GPT-translator\text_translation.py", line 169, in <module> print("未检测到OpenAI API 代理,当前使用api地址为: " + openai.api_base) ^^^^^^^^^^^^^^^ AttributeError: module 'openai' has no attribute 'api_base'. Did you mean: 'api_type'?