Urinx / WeixinBot

网页版微信API,包含终端版微信及微信机器人
Apache License 2.0
7.23k stars 1.98k forks source link

WeixinBot不能运行 #292

Open xm9572 opened 3 years ago

xm9572 commented 3 years ago

D:\code\wxbot_project_py2.7>weixin_bot.py Traceback (most recent call last): File "D:\code\wxbot_project_py2.7\weixin_bot.py", line 5, in from wechat import WeChat File "D:\code\wxbot_project_py2.7\wechat__init.py", line 4, in from wechat import WeChat File "D:\code\wxbot_project_py2.7\wechat\wechat.py", line 5, in from utils import * File "D:\code\wxbot_project_py2.7\wechat\utils.py", line 5, in from config import Log File "D:\code\wxbot_project_py2.7\config__init__.py", line 6, in from log import Log File "D:\code\wxbot_project_py2.7\config\log.py", line 12, in cm = ConfigManager() File "D:\code\wxbot_project_py2.7\config\config_manager.py", line 19, in init__ data_dir = self.get('setting', 'prefix') File "D:\code\wxbot_project_py2.7\config\config_manager.py", line 27, in get return self.cp.get(section, option) File "C:\Python27\lib\ConfigParser.py", line 607, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: 'setting'