Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

配置文件不合法!yaml: line 10: mapping values are not allowed in this context" #2

Open
singularity2000 opened this issue Aug 7, 2023 · 13 comments

Comments

@singularity2000
Copy link

如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。
安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。

@Haibersut
Copy link
Owner

Haibersut commented Aug 7, 2023 via email

@singularity2000
Copy link
Author

使用安装器的话,需要注册环境的,不然就会报错

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

谢谢!所以意思就是要勾选“添加到path”选项吗

@Haibersut
Copy link
Owner

Haibersut commented Aug 7, 2023 via email

@singularity2000
Copy link
Author

嗯,虽说我这个安装器是默认注册的,你可以自行测试一下,比如在cmd输入conda看看有没有反应

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:00 收件人: @.>; 抄送: "Matt @.@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 使用安装器的话,需要注册环境的,不然就会报错 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 谢谢!所以意思就是要勾选“添加到path”选项吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

啊这 不知为何在我的电脑上运行安装器之后,它所做的只是把miniconda的安装包下载下来了,还得靠我手动安装conda
虽然它说已经安装完成
image

@Haibersut
Copy link
Owner

Haibersut commented Aug 7, 2023 via email

@singularity2000
Copy link
Author

可能你的电脑阻止了静默安装?是重新打开也是这个样子吗

---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:05 收件人: @.>; 抄送: "Matt @.@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 嗯,虽说我这个安装器是默认注册的,你可以自行测试一下,比如在cmd输入conda看看有没有反应 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上9:00 收件人: @.>; 抄送: "Matt @.@.>; 主题: Re: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 使用安装器的话,需要注册环境的,不然就会报错 … ---原始邮件--- 发件人: @.> 发送时间: 2023年8月7日(周一) 晚上8:49 收件人: @.>; 抄送: @.>; 主题: [Haibersut/chatgpt-installer] 配置文件不合法!yaml: line 10: mapping values are not allowed in this context" (Issue #2) 如题,升级ChatGPT机器人到v2.5.3,使用了安装器,安装了miniconda3,并运行“启动go-cqhttp.cmd”脚本后报错,使得机器人无法运行。 安装miniconda时我没有勾选添加为path,因为conda的安装器说“可能引起冲突,not recommended”。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> 谢谢!所以意思就是要勾选“添加到path”选项吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 啊这 不知为何在我的电脑上运行安装器之后,它所做的只是把miniconda的安装包下载下来了,还得靠我手动安装conda 虽然它说已经安装完成 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

是的,我开着火绒,电脑没冒任何警告,重新运行“chatgpt-installer.exe"它所做的就是把conda的安装包重新下载一遍然后覆盖

@singularity2000
Copy link
Author

刚刚我把miniconda卸载了重新手动安装了一遍,这次勾选了添加到path,运行chatgpt-installer.exe又说没有Git环境,刷刷刷下了一大堆东西,然后告诉我程序未正常退出【如图】
大神有空可否更新一下使用教程?因为v2.5.3改动挺大,像我这样的没配置好环境、只会享受一键包的小白,想无痛成功安装还是有亿点门槛。
image

@Haibersut
Copy link
Owner

Haibersut commented Aug 7, 2023 via email

@singularity2000
Copy link
Author

AI经过这几个月的发展,Claude 2网页版我这边已经能随便用了,通义千问的申请也通过了。
但是在说明书里,似乎没看到接入通义千问功能,Claude的配置方法也已经过时。
所以希望系统地更新一下教程

@Haibersut
Copy link
Owner

@singularity2000
Copy link
Author

singularity2000 commented Aug 8, 2023

lss233/chatgpt-mirai-qq-bot#1134

从Release页重新下载了zip包,卸载并重装了miniconda,装好了Git,运行“go-cqhttp.cmd”仍然显示配置文件不合法的错误【如图】
想知道到底是什么原因,以及这个配置文件在哪里
image

另外 ChatGPT机器人安装程序能正常工作【如图】,最终实现的效果和v2.5.2版本中的“启动ChatGPT.cmd”一致,但感觉操作麻烦多了,还要手动选择两个源,然后验证半天
image

我觉得真不如回到v2.5.2的架构,真的不想折腾了,装这么多依赖,机器人各种组件和依赖占用的硬盘空间也翻了好几倍

题外话,你看第二张截图,我的ChatGPT用cookies登录不上去,但网页版在相同网络条件下能正常用,换节点也无效。我在v2.5.2也有这个问题,看了issue是老问题了,官方说“已修复”,但属实修了个寂寞。

@Haibersut
Copy link
Owner

依赖跟之前是一样的惹,装完应该接近500MB?架构也没有改

@Haibersut
Copy link
Owner

web登录不上只能是revChatGPT这个库的问题,或者网络问题
image

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

No branches or pull requests

2 participants