博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
PyCharm安装requests模块
阅读量:3947 次
发布时间:2019-05-24

本文共 291 字,大约阅读时间需要 1 分钟。

PyCharm 安装requests模块

使用pip install 安装第三方模块

$ pip install requests

  • 如果pip install有问题的话,使用本地源码安装
本地源码安装

1、先克隆requests的源码到本地,比较省时间

$ git clone git://github.com/kennethreitz/requests.git

requests安装

2、切换到requests源码目录里,使用python内置的setup.py install 本地安装

$ cd requests

$ python setup.py install

setup安装requests

以上安装没有报错信息都是安装正常的

转载地址:http://nhqwi.baihongyu.com/

你可能感兴趣的文章
Redundant Downloads are Redundant
查看>>
Modifying your Download Patterns Based on the Connectivity Type
查看>>
Supporting Different Screen Sizes支持不同的屏幕尺寸
查看>>
Supporting Different Densities 支持各种屏幕密度
查看>>
Implementing Adaptative UI Flows 实施自适应用户界面流程
查看>>
Crossfading Two Views 淡入淡出的两种观点
查看>>
Using ViewPager for Screen Slides 使用屏幕幻灯片ViewPager
查看>>
Displaying Card Flip Animations 显示卡片翻转动画
查看>>
Zooming a View 缩放视图
查看>>
Animating Layout Changes 动画布局的更改
查看>>
Controlling Your App’s Volume and Playback 控制应用程序的音量和播放
查看>>
Managing Audio Focus 管理音频焦点
查看>>
Dealing with Audio Output Hardware 处理音频输出硬件设备
查看>>
Monitoring the Battery Level and Charging State 监测电池电量和充电状态
查看>>
Determining and Monitoring the Docking State and Type 判断并监测设备的停驻状态与类型
查看>>
Determining and Monitoring the Connectivity Status 根据网络连接状况去省电
查看>>
Manipulating Broadcast Receivers On Demand 按需操控广播接收
查看>>
Creating a View Class 创建一个视图类
查看>>
Custom Drawing 自定义绘制
查看>>
Making the View Interactive 视图互动
查看>>