README doesn't mention that a running ollama server is required #8

Closed
opened 2026-02-15 16:27:24 -05:00 by yindo · 6 comments
Owner

Originally created by @jmccrosky on GitHub (Jan 26, 2024).

It seems I'm not the only one that looked at the README and assumed that the library is taking care of running the backend, resulting in a "Connection Refused" error when I try the example code in the README. If I understand well, I need to first run the ollama server. This should perhaps be made clear in the README.

Originally created by @jmccrosky on GitHub (Jan 26, 2024). It seems I'm not the only one that looked at the README and assumed that the library is taking care of running the backend, resulting in a "Connection Refused" error when I try the example code in the README. If I understand well, I need to first run the ollama server. This should perhaps be made clear in the README.
yindo closed this issue 2026-02-15 16:27:24 -05:00
Author
Owner

@g1ra commented on GitHub (Jan 31, 2024):

this must be very frustrating for most of the users starting

@g1ra commented on GitHub (Jan 31, 2024): this must be very frustrating for most of the users starting
Author
Owner

@diegodmb commented on GitHub (Feb 3, 2024):

How can I run de Ollama Server? I'm encounter this error in my django App:
[WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión
Thank you so much for your help

@diegodmb commented on GitHub (Feb 3, 2024): How can I run de Ollama Server? I'm encounter this error in my django App: [WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión Thank you so much for your help
Author
Owner

@diegodmb commented on GitHub (Feb 7, 2024):

I solve it running the Docker Container. But it works really really slow using a light model like Phi.

@diegodmb commented on GitHub (Feb 7, 2024): I solve it running the Docker Container. But it works really really slow using a light model like Phi.
Author
Owner

@connor-makowski commented on GitHub (Feb 15, 2024):

You need to have a local ollama server running to be able to continue. To do this:

There is a PR to add this to the docs (mentioned above).

@connor-makowski commented on GitHub (Feb 15, 2024): You need to have a local ollama server running to be able to continue. To do this: - Download: https://ollama.com/ - Run an LLM: https://ollama.com/library - Example: `ollama run llama2` - Example: `ollama run llama2:70b` There is a PR to add this to the docs (mentioned above).
Author
Owner

@connor-makowski commented on GitHub (Feb 21, 2024):

I had to update the Readme when working on iterative chats (chats with history), so I ended up migrating in these changes into the PR here: https://github.com/ollama/ollama-python/pull/64

@connor-makowski commented on GitHub (Feb 21, 2024): I had to update the Readme when working on iterative chats (chats with history), so I ended up migrating in these changes into the PR here: https://github.com/ollama/ollama-python/pull/64
Author
Owner

@ParthSareen commented on GitHub (Nov 14, 2024):

Revisiting issues - think that following covers the part about running the model.

The Ollama Python library provides the easiest way to integrate Python 3.8+ projects with Ollama.

@ParthSareen commented on GitHub (Nov 14, 2024): Revisiting issues - think that following covers the part about running the model. > The Ollama Python library provides the easiest way to integrate Python 3.8+ projects with [Ollama](https://github.com/ollama/ollama).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#8