Closed meikoul closed 5 years ago
使用 pip install -r requirements.txt 安装所有依赖 我执行了这个
要不你单个安装:
pip install requests
if name == 'main':
GFWeather().run()
========================
/EverydayWechat-master$ sudo python3.6 run.py
Traceback (most recent call last):
File "run.py", line 22, in
直接运行报错
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 。您的这个错误信息不全。
ModuleNotFoundError: No module named 'requests'