Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ollama serve #4

Closed
fda1zt opened this issue Oct 27, 2024 · 9 comments
Closed

ollama serve #4

fda1zt opened this issue Oct 27, 2024 · 9 comments

Comments

@fda1zt
Copy link

fda1zt commented Oct 27, 2024

Sorry to bother you. I followed the link you provided, used the ollama serve command, then in another terminal, I entered ollama run llama3.1, and finally, in a third terminal, I ran python run.py. However, I encountered the same issue as before. Could you kindly provide a more detailed step-by-step guide whenever you have the time? Thank you for your help.
图片
图片
图片

@RenqiChen
Copy link
Owner

RenqiChen commented Oct 28, 2024

Please follow this website and try to run the example code successfully first.

@RenqiChen RenqiChen reopened this Oct 28, 2024
@KuKuKuKuKuKurisu
Copy link
Collaborator

Try pip uninstall agentscope? It seems the program is trying to load agentscope in the environment.

@ztlsky
Copy link

ztlsky commented Oct 28, 2024

I have completed the example from the link. Could you provide a detailed tutorial?

@RenqiChen
Copy link
Owner

Try pip uninstall agentscope? It seems the program is trying to load agentscope in the environment.

Maybe you can try this?

@ztlsky
Copy link

ztlsky commented Oct 28, 2024

I have tried, but it returned this error.
image

@KuKuKuKuKuKurisu
Copy link
Collaborator

The agentscope module is located in agentscope-main/src/agentscope. Just make sure this path is included in your working directory or in your Python path to resolve the ModuleNotFound error.

@fda1zt
Copy link
Author

fda1zt commented Oct 28, 2024

I have confirmed that the path is correct, and my error occurred because I uninstalled agentscope using pip uninstall agentscope. However, I still can't get it to run. Do you have a more detailed guide?

@KuKuKuKuKuKurisu
Copy link
Collaborator

KuKuKuKuKuKurisu commented Oct 28, 2024

I recommend testing if you can run agentscope, as agentscope-main was cloned directly from the AgentScope GitHub Repo. Navigate to cd agentscope-main, then create a test file containing the example provided in AgentScope's documentation and try running it.

@RenqiChen
Copy link
Owner

This issue is solved in #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants