westnestling / N95-watcher

🤖️监控口罩存货,包含京东、天猫、苏宁等商城,也可监控消毒液、护目镜等物资的放货信息,并推送到微信提醒。目前有🏷️天猫淘宝秒杀自动下单、🏷️京东秒杀自动下单功能。可用于普通商品秒杀。抗击疫情!中国加油🇨🇳!
MIT License
364 stars 96 forks source link

运行报错 #8

Open chinkaysin opened 4 years ago

chinkaysin commented 4 years ago

raceback (most recent call last): File "watcher.py", line 8, in from log.logger import logger as log File "/Users/chinkaysin/N95-watcher/log/logger.py", line 8, in filehandler = logging.FileHandler(os.path.join(os.path.abspath(os.path.dirname(file)), "logs", "log{}.txt".format(time.strftime("%d%m%Y")))) File "/Users/chinkaysin/.pyenv/versions/3.7.6/lib/python3.7/logging/init.py", line 1087, in init StreamHandler.init(self, self._open()) File "/Users/chinkaysin/.pyenv/versions/3.7.6/lib/python3.7/logging/init.py", line 1116, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] No such file or directory: '/Users/chinkaysin/N95-watcher/log/logs/log_0103