-
Notifications
You must be signed in to change notification settings - Fork 12
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
agentscope #5
Comments
可以print一下sys.path吗 |
['/home/ecs-user/Social_Science/sci_platform', '/home/ecs-user/anaconda3/envs/science/lib/python311.zip', '/home/ecs-user/anaconda3/envs/science/lib/python3.11', '/home/ecs-user/anaconda3/envs/science/lib/python3.11/lib-dynload', '/home/ecs-user/anaconda3/envs/science/lib/python3.11/site-packages', '../agentscope-main/src'] |
根据报错显示他并没有去项目中的agentscope寻找SciAgent,而是从使用pip install的agentscope寻找SciAgent |
找到了解决办法,不要使用pip install agentscope来进行安装,使用开发者模型进行安装agentscope:pip install -e . ref:https://github.com/modelscope/agentscope/blob/main/README.md |
我看您修改文档了,使用pip install -e.安装agentscope,必须要把agentscope的readme文档放在agentscope-main目录下才可以 |
我们把setup.py里面这部分代码改掉了,尝试过可以正常安装 |
同学您好,想麻烦问下您是怎么安装的呀,是用服务器进行安装的嘛,是用的什么型号的呀 |
@NAMEKDSUN @KuKuKuKuKuKurisu 同学您好,想麻烦问下您是怎么安装的呀,是用服务器进行安装的嘛,是用的什么型号的呀 |
我们是服务器那边的人帮我们装的,因为我们没有sudo权限,ollama的话按照这个步骤来操作就可以:
https://github.com/ollama/ollama-python
…On Tue, Dec 17, 2024 at 10:19 AM JUNO523 ***@***.***> wrote:
@NAMEKDSUN <https://github.com/NAMEKDSUN> @KuKuKuKuKuKurisu
<https://github.com/KuKuKuKuKuKurisu>
同学您好,想麻烦问下您是怎么安装的呀,是用服务器进行安装的嘛,是用的什么型号的呀
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHXPNYCAKBLWVK4QVX37WUD2F6C2PAVCNFSM6AAAAABRREV5PWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBXGM2TQMBTGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Traceback (most recent call last):
File "/home/ecs-user/Social_Science/sci_platform/run.py", line 1, in
from sci_platform import Platform
File "/home/ecs-user/Social_Science/sci_platform/sci_platform.py", line 13, in
from agentscope.agents import SciAgent
ImportError: cannot import name 'SciAgent' from 'agentscope.agents' (/home/ecs-user/anaconda3/envs/science/lib/python3.11/site-packages/agentscope/agents/init.py)
运行run.py文件报错,没有办法从项目中的agentscope导入SciAgent
The text was updated successfully, but these errors were encountered: