Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: partially initialized module 'ollama' has no attribute 'chat' (most likely due to a circular import) #144

Open
srtj opened this issue May 2, 2024 · 3 comments

Comments

@srtj
Copy link

srtj commented May 2, 2024

how to fix this error:
AttributeError: partially initialized module 'ollama' has no attribute 'chat' (most likely due to a circular import)

@ryanbarrett
Copy link

I think I did the same thing and found a resolution.

Is your file named ollama.py? Rename it and try again.

@L261173157
Copy link

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

@srtj
Copy link
Author

srtj commented May 7, 2024

Yes I got it ,thinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants