mirror of
https://gitee.com/insArvin/nypc_python_advanced.git
synced 2026-04-17 21:42:29 +08:00
update Spider/neteaseMusicSpider/readme.md.
Signed-off-by: iamzhaohaibo <941604465@qq.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
> 建议使用Google Chrome 浏览器
|
||||
|
||||
## 1、创建虚拟环境并下载对应packages(推荐)
|
||||
## 一、创建虚拟环境并下载对应packages(推荐)
|
||||
|
||||
:reminder_ribbon:作者建议:真的建议所有的`Python`学习者去使用虚拟环境。创建方法参考如下:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
> Based on your own existing python interpreter to create a virtual python interpreter environment by `Virtualenv` Tool.
|
||||
|
||||
### 2、使用命令
|
||||
### 2、使用命令创建虚拟环境
|
||||
|
||||
确保你的Python环境已经有了`venv`模块,然后在你的Python项目目录下执行如下指令
|
||||
|
||||
@@ -22,7 +22,17 @@ python -m venv YourVirtualEnv # YourVirtualEnv你的虚拟环境名称
|
||||
|
||||
|
||||
|
||||
## 2、检查自己浏览器版本
|
||||
3、安装所有的库
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
请根据Python版本,安装合适的依赖版本。
|
||||
|
||||
|
||||
|
||||
## 二、检查自己浏览器版本
|
||||
|
||||
### 1、打开Google Chrome
|
||||
|
||||
@@ -72,7 +82,7 @@ https://storage.googleapis.com/chrome-for-testing-public/145.0.7575.2/win64/chro
|
||||
|
||||
一定要看清楚版本号、系统类型、文件名,少一个都不行。
|
||||
|
||||
## 3、下载解压和修改代码驱动位置
|
||||
## 三、下载解压和修改代码驱动位置
|
||||
|
||||
作者的Google Chrome是`128.0.6613.138` ,系统是Mac 10(Intel Chip,x86_64)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user