@thex#33 docker环境, 试过很多机器 DMIT 谷歌云 填入对应信息 运行脚本后 提示安装成功就是启动不起来 纯新手 请教楼主 报错查看日志:Feb 08 04:31:41 192-168-1-189 python3[3053511]: ModuleNotFoundError: No module named 'telegram'
Feb 08 04:31:41 192-168-1-189 systemd[1]: vpsbot.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 04:31:41 192-168-1-189 systemd[1]: vpsbot.service: Failed with result 'exit-code'.
Feb 08 04:31:51 192-168-1-189 systemd[1]: vpsbot.service: Scheduled restart job, restart counter is at 2142.
Feb 08 04:31:51 192-168-1-189 systemd[1]: Stopped vpsbot.service - VPS Remote Controller Bot X.
Feb 08 04:31:51 192-168-1-189 systemd[1]: Started vpsbot.service - VPS Remote Controller Bot X.
Feb 08 04:31:51 192-168-1-189 python3[3053516]: Traceback (most recent call last):
Feb 08 04:31:51 192-168-1-189 python3[3053516]: File "/root/vps_bot-x/main.py", line 5, in <module>
Feb 08 04:31:51 192-168-1-189 python3[3053516]: from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
Feb 08 04:31:51 192-168-1-189 python3[3053516]: ModuleNotFoundError: No module named 'telegram'
Feb 08 04:31:51 192-168-1-189 systemd[1]: vpsbot.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 04:31:51 192-168-1-189 systemd[1]: vpsbot.service: Failed with result 'exit-code'.
tql
运行不起来什么原因 安装完以后显示已停止服务 找不到什么原因
@a5806858 #32 什麼環境?docker雞nat雞?
做的 很好。没有这个需求。
@thex #33 docker环境, 试过很多机器 DMIT 谷歌云 填入对应信息 运行脚本后 提示安装成功就是启动不起来 纯新手 请教楼主 报错查看日志:Feb 08 04:31:41 192-168-1-189 python3[3053511]: ModuleNotFoundError: No module named 'telegram'
Feb 08 04:31:41 192-168-1-189 systemd[1]: vpsbot.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 04:31:41 192-168-1-189 systemd[1]: vpsbot.service: Failed with result 'exit-code'.
Feb 08 04:31:51 192-168-1-189 systemd[1]: vpsbot.service: Scheduled restart job, restart counter is at 2142.
Feb 08 04:31:51 192-168-1-189 systemd[1]: Stopped vpsbot.service - VPS Remote Controller Bot X.
Feb 08 04:31:51 192-168-1-189 systemd[1]: Started vpsbot.service - VPS Remote Controller Bot X.
Feb 08 04:31:51 192-168-1-189 python3[3053516]: Traceback (most recent call last):
Feb 08 04:31:51 192-168-1-189 python3[3053516]: File "/root/vps_bot-x/main.py", line 5, in <module>
Feb 08 04:31:51 192-168-1-189 python3[3053516]: from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
Feb 08 04:31:51 192-168-1-189 python3[3053516]: ModuleNotFoundError: No module named 'telegram'
Feb 08 04:31:51 192-168-1-189 systemd[1]: vpsbot.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 04:31:51 192-168-1-189 systemd[1]: vpsbot.service: Failed with result 'exit-code'.
@a5806858 #35 docker 鸡和nat鸡因为环境问题不支持
@thex #36 好的
大佬,第二只鸡输入同样的bot token以后就提示conflict了,怎么做到1bot多只鸡呢?
@Luis #38 看置顶教程
吊啊,我觉得很强