python-drission-page-spider/README.MD
2025-03-22 09:34:59 +08:00

25 lines
357 B
Markdown

### 项目依赖安装
#### 虚拟环境
```shell
python -m venv venv
```
切换虚拟环境
```shell
./venv/bin/activate
```
切换镜像源
```shell
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
```
```shell
pip install -r requirements.txt
```
### requirements.txt
```shell
pip install pipreqs
pipreqs ./ --encoding=utf8
```