docs: 📓 update requirements

main
jackluson 2 years ago
parent 02072bc757
commit 88dbaa0249

@ -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),如果是需要连接数据库的话,还要配置好表结构 1. 安装好 chromedriver 驱动(版本需要和你本地电脑 Chrome 浏览器版本一致), 安装 tesseract(识别二维码需要,如果是用 cookies 方式则不需要) 并将 tesseract 加到环境变量下,运行报错的话可能没有安装训练库,可参考[https://stackoverflow.com/questions/14800730/tesseract-running-error](https://stackoverflow.com/questions/14800730/tesseract-running-error),如果是需要连接数据库的话,还要配置好表结构

@ -8,3 +8,5 @@ openpyxl==3.0.7
beautifulsoup4==4.9.3 beautifulsoup4==4.9.3
Pillow==8.3.1 Pillow==8.3.1
python-dotenv==0.19.0 python-dotenv==0.19.0
cryptography==37.0.4
lxml==4.9.1

Loading…
Cancel
Save