[GH-ISSUE #715] install script works but first prompt throws error #329

Closed
opened 2026-04-12 09:53:41 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @jonnytest1 on GitHub (Oct 6, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/715

Originally assigned to: @BruceMacD on GitHub.

image

after testing around i noticed the file should be a json of some sort but i got no clue on the further details

Originally created by @jonnytest1 on GitHub (Oct 6, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/715 Originally assigned to: @BruceMacD on GitHub. ![image](https://github.com/jmorganca/ollama/assets/13507796/70cd4325-f54e-4bdd-9171-fef2a775bf9a) after testing around i noticed the file should be a json of some sort but i got no clue on the further details
Author
Owner

@jonnytest1 commented on GitHub (Oct 6, 2023):

ok my bad - i think i had to run ollama run llama2 afterwards (maybe we can make it more obvious that that isnt part of the installation)

<!-- gh-comment-id:1750187712 --> @jonnytest1 commented on GitHub (Oct 6, 2023): ok my bad - i think i had to run `ollama run llama2` afterwards (maybe we can make it more obvious that that isnt part of the installation)
Author
Owner

@BruceMacD commented on GitHub (Oct 6, 2023):

Thanks for opening the issue.

You were using the API directly here, correct? I've seen this error a couple times now. The problem is that the model had to be pulled before it could be run (which the CLI does automatically). I'm going to improve the error message here.

<!-- gh-comment-id:1750866595 --> @BruceMacD commented on GitHub (Oct 6, 2023): Thanks for opening the issue. You were using the API directly here, correct? I've seen this error a couple times now. The problem is that the model had to be pulled before it could be run (which the CLI does automatically). I'm going to improve the error message here.
Author
Owner

@jonnytest1 commented on GitHub (Oct 6, 2023):

yes i just ran it in accordance to the installation instruction in the readme md

<!-- gh-comment-id:1751207885 --> @jonnytest1 commented on GitHub (Oct 6, 2023): yes i just ran it in accordance to the installation instruction in the readme md
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#329