Womsxd / xixunyun-sign

习讯云每日打卡脚本
GNU Affero General Public License v3.0
6 stars 7 forks source link

运行报错 #5

Closed szylhh closed 2 years ago

szylhh commented 2 years ago

大佬好,运行报错: python main.py File "main.py", line 27 def get_day() -> str: ^ SyntaxError: invalid syntax

python 版本:2.7

szylhh commented 2 years ago

python报错是下面这样,[root@instance-20220904-1351 xixunyun-sign-master]# python3 main.py Traceback (most recent call last): File "main.py", line 8, in import rsa ModuleNotFoundError: No module named 'rsa'

Womsxd commented 2 years ago

py版本最低要求3.6

Womsxd commented 2 years ago

python报错是下面这样,[root@instance-20220904-1351 xixunyun-sign-master]# python3 main.py Traceback (most recent call last): File "main.py", line 8, in import rsa ModuleNotFoundError: No module named 'rsa'

解决办法 pip3 install -r requirements.txt

szylhh commented 2 years ago

好的大佬成功,这个推送怎么选择? image

szylhh commented 2 years ago

image 大佬,是不是这样呢?我是要用pushplus

Womsxd commented 2 years ago

image 大佬,是不是这样呢?我是要用pushplus

szylhh commented 2 years ago

好的,谢谢大佬

Womsxd commented 2 years ago

你要更多push选项的话可以拿 https://github.com/Womsxd/AutoMihoyoBBS/blob/master/push.py 这里的push( 我后续搬运一下