Replies: 1 comment 1 reply
-
Hi there and thanks for the comment. I think the issue may be the little typo here perhaps?
I.e., it should be "ollama" instead of "ollma" Hopefully that works! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In chapter 7.8,
On my MacOS 15, the following is the return of
ps aux | grep ollama
:But
check_if_running('ollma')
returns False. I don't know whether it works fine in Windows/Linux. It probably means that in MacOS, the process name does not contain 'ollama'. My method is:It returns true.
Another issue is that
print("Ollama running:", check_if_running("ollama"))
callscheck_if_running
again, which is redundant.print("Ollama is running")
is more concise.Beta Was this translation helpful? Give feedback.
All reactions