mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
README doesn't mention that a running ollama server is required #8
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 @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.
@g1ra commented on GitHub (Jan 31, 2024):
this must be very frustrating for most of the users starting
@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 7, 2024):
I solve it running the Docker Container. But it works really really slow using a light model like Phi.
@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:
ollama run llama2ollama run llama2:70bThere is a PR to add this to the docs (mentioned above).
@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
@ParthSareen commented on GitHub (Nov 14, 2024):
Revisiting issues - think that following covers the part about running the model.