Closed syntaxsurge closed 1 year ago
@syntaxsurge Excuse me try this:
python3.11 -m pip3 install --upgrade dalle3
The reason you were encountering this error has a very simple explanation:
The file name was the same as the library you were trying to import.
example: You created dalle3.py
The file started with from dalle3 import Dalle [...] but since the file itself was named dalle3.py, it tried to import from itself which of course won't work.
Describe the bug from dalle3 import Dalle ImportError: cannot import name 'Dalle' from partially initialized module 'dalle3' (most likely due to a circular import)