ollama-python
ollama-python copied to clipboard
AttributeError: partially initialized module 'ollama' has no attribute 'chat' (most likely due to a circular import)
how to fix this error: AttributeError: partially initialized module 'ollama' has no attribute 'chat' (most likely due to a circular import)
I think I did the same thing and found a resolution.
Is your file named ollama.py? Rename it and try again.
I think I did the same thing and found a resolution.
Is your file named ollama.py? Rename it and try again.
yes,you are right
Yes I got it ,thinks