Closed Jasonandy closed 5 years ago
D:\devtools\Python38\python.exe E:/PyCharmSpace/Python-X/cn/love/GFWeather.py Traceback (most recent call last): File "E:/PyCharmSpace/Python-X/cn/love/GFWeather.py", line 247, in gfweather().start_today_info(True) File "E:/PyCharmSpace/Python-X/cn/love/GFWeather.py", line 20, in init self.girlfriend_list, self.alarm_hour, self.alarm_minute, self.dictum_channel = self.get_init_data() File "E:/PyCharmSpace/Python-X/cn/love/GFWeather.py", line 28, in get_init_data config = load(f, loader=yaml.FullLoader) TypeError: load() got an unexpected keyword argument 'loader'
弄好了 感谢 那个yaml load我搞错了 谢谢老哥
D:\devtools\Python38\python.exe E:/PyCharmSpace/Python-X/cn/love/GFWeather.py Traceback (most recent call last): File "E:/PyCharmSpace/Python-X/cn/love/GFWeather.py", line 247, in
gfweather().start_today_info(True)
File "E:/PyCharmSpace/Python-X/cn/love/GFWeather.py", line 20, in init
self.girlfriend_list, self.alarm_hour, self.alarm_minute, self.dictum_channel = self.get_init_data()
File "E:/PyCharmSpace/Python-X/cn/love/GFWeather.py", line 28, in get_init_data
config = load(f, loader=yaml.FullLoader)
TypeError: load() got an unexpected keyword argument 'loader'