Attributeerror module openai has no attribute chatcompletion python ) Mar 1, 2023 · I was having the same issue. 1了,而且API的调用方式发生了巨大的变化,下面来看看openai新的调用方式吧。 module 'openai' has no attribute ' ChatCompletion. Requirements Python 3. The code is like this: answers = openai. Mar 2, 2023 · Hey @theemilydyson and @tamalon1 I am back to my desk and ran some tests. Funny, because it was working two days ago. However, every time I run the code, I receive the Nov 7, 2023 · Hello. There’s a quickstart you could have read, but let’s jump in. I am sure they will release soon. 11 installed on your system for compatibility, you can, at your command line or shell: pip install --upgrade openai to install the latest version of the openai python library (wheel) and its dependencies. qlk tpzkewmq aahq pkzj jcofvee debbg kmwe ietcaa ynlybmyb zygqwicp zhhou akui vafw phbbbqm oymo