Closed bm567 closed 1 year ago
我的问题,忘加 macos 了
我的问题,忘加 macos 了
def cqhttp_start():
self._set_config(go_cqhttp_path)
plat = platform.system().lower()
if plat == 'windows':
subp = subprocess.Popen("cd %s && .\go-cqhttp.exe -faststart" % go_cqhttp_path, shell=True, stdout=subprocess.PIPE)
elif plat == 'linux':
subp = subprocess.Popen("cd %s && ./go-cqhttp -faststart" % go_cqhttp_path, shell=True, stdout=subprocess.PIPE)
elif plat == 'darwin':
subp = subprocess.Popen("cd %s && ./go-cqhttp -faststart" % go_cqhttp_path, shell=True, stdout=subprocess.PIPE)
尝试手动添加mac系统,运行了下没报错
环境: 芯片 Apple M2 macos 13.3.1 (22E261) python 3.11.2 gocqhttp 1.0.1 pycqBot 0.5.1.1 运行代码:
报错代码: