Thanks to visit codestin.com
Credit goes to github.com

Skip to content

partially initialized module 'openai' has no attribute 'Completion' #147

Closed as not planned
@shelu16

Description

@shelu16

python gpt2.py
Traceback (most recent call last):
File "D:\EVE_NG\gpt2.py", line 2, in
import openai
File "D:\EVE_NG\openai.py", line 8, in
response = openai.Completion.create(
^^^^^^^^^^^^^^^^^
AttributeError: partially initialized module 'openai' has no attribute 'Completion' (most likely due to a circular import)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions