0%

使用python_venv爬虫

Python venv: How To Create, Activate, Deactivate, And Delete • Python Land Tutorial

1
2
3
4
5
6
7
python3 -m venv venv
## 在当前文件夹下创建 venv 文件夹,并且创造环境
source venv/bin/activate
## 激活
python3 -m pip install --upgrade pip
pip install -r requirements.txt
python3 ao3downloader.py

退出 deactivate

git 设置不对

git config –global -l

查看

config –global https.proxy socks5://127.0.0.1:1090

修改

ERROR: Could not install packages due to an EnvironmentError: Missing dependencies for SOCKS support.

解决一下代理

unset ALL_PROXY

pip3 install Pysocks –user