mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
httpx.ConnectError: [Errno 111] Connection refused #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @asmith26 on GitHub (Jan 17, 2024).
Hi there,
I'm trying to run simple-chat-stream example, but unfortunately I'm geeting
I'm using
ollama = 0.1.2and have tried runningollama.pull("mistral").Many thanks for any help!
@asmith26 commented on GitHub (Jan 18, 2024):
Ah, I've just realised I need to run ollama in the background.
I'll close this ticket - let me know if I can with something like add this to the README or enhancing the error message with this info.
Many thanks for these amazing libs!
@abisheka-pitumpe commented on GitHub (Apr 4, 2024):
How do I run ollama in the background in a python environment? I know that
ollama serveworks on CLI, I am getting the same Error 111 in an environment where I can only use ollama-python and not CLI.@ValeWalker27 commented on GitHub (Apr 23, 2024):
I'm not an expert but may be you can try running a Custom client and refer to it in your said environment.
Ref: https://ollama.com/blog/python-javascript-libraries
Hope it helps.