sfyc23 / EverydayWechat

微信助手:1.每日定时给好友(女友)发送定制消息。2.机器人自动回复好友。3.群助手功能(例如:查询垃圾分类、天气、日历、电影实时票房、快递物流、PM2.5等)
MIT License
9.99k stars 2.31k forks source link

执行运行 出现以下报错 #16

Closed meikoul closed 5 years ago

meikoul commented 5 years ago

ModuleNotFoundError: No module named 'requests'

meikoul commented 5 years ago

使用 pip install -r requirements.txt 安装所有依赖 我执行了这个

sfyc23 commented 5 years ago

要不你单个安装:

pip install requests
Gaojunjie2020 commented 5 years ago

if name == 'main':

直接运行

GFWeather().run()

======================== /EverydayWechat-master$ sudo python3.6 run.py Traceback (most recent call last): File "run.py", line 22, in run() File "run.py", line 11, in run GFWeather().run() File "/home/Documents/EverydayWechat-master/GFWeather.py", line 32, in init self.girlfriend_list, self.alarm_hour, self.alarm_minute, self.dictum_channel = self.get_init_data() File "/home/Documents/EverydayWechat-master/GFWeather.py", line 55, in get_init_data girlfriend.get('wechat_name').strip() AttributeError: 'NoneType' object has no attribute 'get'

直接运行报错

sfyc23 commented 5 years ago

if name == 'main':

直接运行

GFWeather().run() /EverydayWechat-master$ sudo python3.6 run.py Traceback (most recent call last): File "run.py", line 22, in run() File "run.py", line 11, in run GFWeather().run() File "/home/Documents/EverydayWechat-master/GFWeather.py", line 32, in init self.girlfriend_list, self.alarm_hour, self.alarm_minute, self.dictum_channel = self.get_init_data() File "/home/Documents/EverydayWechat-master/GFWeather.py", line 55, in get_init_data girlfriend.get('wechat_name').strip() AttributeError: 'NoneType' object has no attribute 'get'

直接运行报错

不同的问题请新开一个 issues 。您的这个错误信息不全。