Python的requests之 windows xp安装 方法

2025-07-29 14:44:52

1、首先,你需要安装python这个不用啰嗦了,然后进入python的官网链接,点击箭头位置

Python的requests之 windows xp安装 方法

2、然后点击红线框起来的whl格式文件,进行下载,下载后将whl格式更改成zip进行解压

Python的requests之 windows xp安装 方法

3、解压后得到两个文件夹,一个requests和requests-2.12.4.dist-info

Python的requests之 windows xp安装 方法

4、我们将requests文件夹复制到python的安装目录里的lib文件夹里

Python的requests之 windows xp安装 方法

5、我们龅歧仲半打开cmd,输入 import requests 命令来试试是否安装成功,如图所示,import requests 没有报错,说明 requests 已经成功安装了。

Python的requests之 windows xp安装 方法
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢