1,安装 python 环境
1,执行安装包,双击-> python-3.10.4-amd64.exe-> 勾选选自定义安装和勾选添加环境变量
2,勾选安装所有用户和设置安装路径
3,cmd->python,验证Python环境安装完成。至此python环境安装完成。
4,安装requests包:
依赖包下载地址:
链接:https://pan.baidu.com/s/1WzwqWDo6myPWn7tJJ-dIRQ
提取码:vr87
requests包依赖如下包:
certifi-2019.9.11-py2.py3-none-any.whl
chardet-3.0.4-py2.py3-none-any.whl
idna-2.8-py2.py3-none-any.whl
urllib3-1.25.6-py2.py3-none-any.whl
requests-2.22.0-py2.py3-none-any.whl
执行安装依赖包,及requests 包。
解压依赖包,cd 依赖包解压目录,执行
pip install certifi-2019.9.11-py2.py3-none-any.whl
pip install chardet-3.0.4-py2.py3-none-any.whl
pip install idna-2.8-py2.py3-none-any.whl
pip install urllib3-1.25.6-py2.py3-none-any.whl
pip install requests-2.22.0-py2.py3-none-any.whl
标签:none,windows,py2,py3,python,whl,requests,安装,any From: https://www.cnblogs.com/k8s-pod/p/16633011.html