From 88dbaa02498ae2690bf89417955717b26ccca193 Mon Sep 17 00:00:00 2001 From: jackluson <18219112108@163.com> Date: Sun, 14 Aug 2022 13:29:47 +0800 Subject: [PATCH] docs: :notebook: update requirements --- README.md | 5 +++++ requirements.txt | 2 ++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index e608283..28dc188 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,11 @@ ## 本地运行 +### 安装 +```bash +pip install -r requirements.txt +``` + ### 本地运行前置条件: 1. 安装好 chromedriver 驱动(版本需要和你本地电脑 Chrome 浏览器版本一致), 安装 tesseract(识别二维码需要,如果是用 cookies 方式则不需要) 并将 tesseract 加到环境变量下,运行报错的话可能没有安装训练库,可参考[https://stackoverflow.com/questions/14800730/tesseract-running-error](https://stackoverflow.com/questions/14800730/tesseract-running-error),如果是需要连接数据库的话,还要配置好表结构 diff --git a/requirements.txt b/requirements.txt index 10eb3d2..9e50ee2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,5 @@ openpyxl==3.0.7 beautifulsoup4==4.9.3 Pillow==8.3.1 python-dotenv==0.19.0 +cryptography==37.0.4 +lxml==4.9.1