zhayujie / chatgpt-on-wechat

基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择GPT3.5/GPT-4o/GPT4.0/ Claude/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Claude/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
https://docs.link-ai.tech/cow
MIT License
29.49k stars 7.8k forks source link

好像不能在arm平台里的docker跑啊?? #1706

Closed answerzx closed 3 weeks ago

answerzx commented 7 months ago

前置确认

⚠️ 搜索issues中是否已存在类似问题

操作系统类型?

Docker

运行的python版本是?

python 3.7

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

No response

问题描述 😯

我使用软路由的系统armv8平台的openwrt上的docker 启动镜像的时候报错: ⠧ chatgpt-on-wechat The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

终端日志 📒


<此处粘贴终端日志>
``` ⠧ chatgpt-on-wechat The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested   
null0034 commented 5 months ago

默认编译的是x86架构的镜像,你要是在arm上跑需要自己打包arm架构镜像

katfionn commented 3 months ago

默认编译的是x86架构的镜像,你要是在arm上跑需要自己打包arm架构镜像

不懂代码和服务器的小奶白,请教下这个有没有打包教程呀

katfionn commented 3 months ago

默认编译的是x86架构的镜像,你要是在arm上跑需要自己打包arm架构镜像

文心一言让我改dockerfile,但是看不懂那里面写的是啥

6vision commented 3 weeks ago

最新的已支持

keyikai commented 3 weeks ago

最新的已支持 我跑的时候也遇到了同样的问题,似乎没有解决啊

keyikai commented 3 weeks ago

最新的已支持

会不会是源码更新了,yml没有更新,我使用的是wget到docker的,docker后台日志是stderr: exec /entrypoint.sh: exec format error