File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed
Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1919> - 这个脚本没有病毒。如果提示 ` Windows 已保护您的电脑 ` ,请点击 ` 更多信息 ` ,然后点击 ` 仍要运行 ` 。
2020>
2121> - 脚本默认使用 ` python ` 指令来执行代码,如果你想指定 Python 解释器器路径或者指令,请修改 ` launcher_astrbot_en.bat ` 文件。找到 ` set PYTHON_CMD=python ` 这一行,将 ` python ` 改为你的 Python 解释器路径或指令。
22+ >
2223
2324如果没有检测到 Python 环境,脚本将会提示并退出。
2425
3637> 默认用户名和密码是 ` astrbot ` 和 ` astrbot ` 。
3738
3839
39- 接下来,你需要部署任何一个消息平台,才能够实现在消息平台上使用 AstrBot。
40+ 接下来,你需要部署任何一个消息平台,才能够实现在消息平台上使用 AstrBot。
41+
42+
43+ ## FAQ
44+
45+ 如果提示 Python is not installed,并且已经安装 Python,并且** 也已经重启并仍报这个错误** ,说明环境变量不对,有两个方法解决:
46+
47+ ** 方法 1:**
48+
49+ windows 搜索 Python,打开文件位置:
50+
51+ ![ ] ( ../../source/images/windows/image.png )
52+
53+ 右键下面这个快捷方式,打开文件所在位置:
54+
55+ ![ alt text] ( ../../source/images/windows/image-1.png )
56+
57+ 复制文件地址:
58+
59+ ![ ] ( ../../source/images/windows/image-2.png )
60+
61+ 回到 ` launcher_astrbot_en.bat ` 文件,右键点击 ` 在记事本中编辑 ` ,找到 ` set PYTHON_CMD=python ` 这一行,将 ` python ` 改为你的 Python 解释器路径或指令,路径两端的双引号不要删。
62+
63+ ** 方法 2:**
64+
65+ 重装 python,并且在安装时勾选 ` Add Python to PATH ` ,然后重启电脑。
You can’t perform that action at this time.
0 commit comments