mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
How to get the Ollama version? #286
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 @smalltalkman on GitHub (Aug 9, 2025).
@ParthSareen commented on GitHub (Aug 11, 2025):
for python package
pip show ollamafor the main running Ollama instanceollama --version@smalltalkman commented on GitHub (Aug 12, 2025):
Thank you. But what I want to know is how to get the version of Ollama and the version of ollama-python using ollama-python?
I retrieved the ollama-python versions using the following code:
But I haven't found a simple way to retrieve the Ollama version using ollama-python.