使用Python写接口压测1软件安装

每一个新的东西,学习都是从软件安装开始,第一个章节老生常谈,但不是所有同学都是解除过得,所以从零开始吧!

官网
https://www.python.org/
下载-我是windows,下载其他根据自己系统;

点击下载

安装

image.png

下一步

image.png

简单小指令
# pip更新到最新版本
python -m pip install --upgrade pip
# 查看版本
python --version
Python国内镜像-下载依赖买的可以使用镜像
清华大学:
https://pypi.tuna.tsinghua.edu.cn/simple/
豆瓣(douban):
https://pypi.douban.com/simple/
阿里云: 
https://mirrors.aliyun.com/pypi/simple/
中国科技大学: 
https://pypi.mirrors.ustc.edu.cn/simple/

###### 比方说使用镜像安装requests库
pip install -i https://pypi.douban.com/simple requests 
修改系统默认镜像源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip版本降到指定版本
python -m pip install pip==20.2.1 

相关推荐

  1. 使用BenchmarkSQLopenGauss

    2024-04-13 23:10:03       43 阅读
  2. 【6-1:全链路

    2024-04-13 23:10:03       25 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-13 23:10:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-13 23:10:03       101 阅读
  3. 在Django里面运行非项目文件

    2024-04-13 23:10:03       82 阅读
  4. Python语言-面向对象

    2024-04-13 23:10:03       91 阅读

热门阅读

  1. 富格林:技巧抵抗曝光虚假套路

    2024-04-13 23:10:03       34 阅读
  2. 蓝桥杯-单片机组基础21——第15届省赛代码

    2024-04-13 23:10:03       32 阅读
  3. Linux C++ 033-STL之函数对象

    2024-04-13 23:10:03       31 阅读
  4. Qt事件处理机制2-事件函数的传播

    2024-04-13 23:10:03       34 阅读
  5. react的闭包陷阱

    2024-04-13 23:10:03       38 阅读
  6. 简单了解ThreadLocal

    2024-04-13 23:10:03       36 阅读
  7. Games104 现代游戏引擎3

    2024-04-13 23:10:03       38 阅读