httprunner运行遇到彻底解决安装包过程中的Requirement already satisfied:问题
deMacBook-Pro:bndcs yuansanmei$ python3 -m pip install httprunner==v4.3.0
Requirement already satisfied: httprunner==v4.3.0 in /Users/y/Library/Python/3.10/lib/python/site-packages (4.3.0)
Requirement already satisfied: black<23.0.0,>=22.3.0 in /Users/y/Library/Python/3.10/lib/python/site-packages (from httprunner==v4.3.0) (22.6.0)
Requirement already satisfied: pyyaml<6.0.0,>=5.4.1 in /Users/y/Library/Python/3.10/lib/python/site-packages (from httprunner==v4.3.0) (5.4.1)
解决:python3 -m pip install httprunner==v4.3.0 --target=/Users/y/Library/Python/3.10/lib/python/site-packages
然后又遇到了第二个问题:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
jsonsearch 0.0.2 requires pytest<=3.10.1,>=2.8.0, but you have pytest 7.2.0 which is incompatible.
===意思好像是pytest版本太高了。。
从问题提示来看,就是pip 的依赖项解析器当前未考虑安装的所有包。此行为是以下依赖项冲突的根源。
二、解决办法
python3 -m pip install pytest==v3.10.1 --target=/Users/y/Library/Python/3.10/lib/python/site-packages
我就根据错误提示,分别重新安装了以上四个版本要求的包,不再截图,把代码附上:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple " pyqt5<5.13"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple " pyqtwebengine<5.13"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pathlib
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ruamel-yaml
然后就没有报错了。
又出现了报错:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pytest-html 3.2.0 requires pytest!=6.0.0,>=5.0, but you have pytest 3.10.1 which is incompatible.
httprunner 4.3.0 requires pytest<8.0.0,>=7.1.1, but you have pytest 3.10.1 which is incompatible.
allure-pytest 2.10.0 requires pytest>=4.5.0, but you have pytest 3.10.1 which is incompatible.
Successfully installed atomicwrites-1.4.1 attrs-22.1.0 more-itertools-9.0.0 pluggy-1.0.0 py-1.11.0 pytest-3.10.1 setuptools-65.6.0 six-1.16.0
jsonsearch 0.0.2 requires pytest<=3.10.1,>=2.8.0, but you have pytest 7.2.0 which is incompatible.
===意思好像是pytest版本太高了。。
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pytest-html 3.2.0 requires pytest!=6.0.0,>=5.0, but you have pytest 3.10.1 which is incompatible.
httprunner 4.3.0 requires pytest<8.0.0,>=7.1.1, but you have pytest 3.10.1 which is incompatible.
allure-pytest 2.10.0 requires pytest>=4.5.0, but you have pytest 3.10.1 which is incompatible.
7.2.0
httprunner运行遇到彻底解决安装包过程中的Requirement already satisfied:问题的更多相关文章
- ubuntu 安装包过程中遇到的一个错误解决办法
错误提示如下: 将会安装下列额外的软件包: libdigest-hmac-perl libqt5test5下列[新]软件包将被安装: libdigest-hmac-perl下列软件包将被升级: lib ...
- 解决pycharm安装包过程出现的问题:module 'pip' has no attribute 'main'
解决pycharm安装包过程出现的问题:module 'pip' has no attribute 'main' 问题 更新pip之后,Pycharm安装package出现如下报错:module 'p ...
- 解决SQL订阅过程中找不到已经创建的订阅
原文:解决SQL订阅过程中找不到已经创建的订阅 之前有写过一篇博客,主要是图解SQL复制技术:图解SQL 2008数据库复制,当时的测试环境是在我本地同一个服务器上面,所以测试的时候可谓是一帆风顺,最 ...
- ubuntu 下解决安装包依赖问题
我们用banshee软件安装豆瓣插件来做个示例: 1.首先在Ubuntu Software Center内搜索banshee播放器 因为我之前已经安装好了,可以看到如下界面,你可以在点击该软件看到in ...
- 关于解决配置Tomact过程中出现的相关问题
最近在学习JavaWeb, 但是在第一步的时候就出现问题了, 什么问题呢, 就是关于Tomact的配置. 下面我就详细说明一下我配置过程中出现的问题以及怎么解决的, 希望对大家能有所帮助. 首先,我 ...
- 解决url传递过程中加号变空格的问题
url传递过程中加号变空格 在接收url参数的过程中,会发现如果参数中存在‘+’号,接收后会变成空格. 如11+22接收后变成11 22. 要解决这个问题,需要将加号替换为%2B进行传递. 如11%2 ...
- Aandroid 解决apk打包过程中出现的“Certificate for <jcenter.bintray.com> doesn't match any of the subject alternative names: [*.aktana.com, aktana.com]”的问题
有时候,apk打包过程中会出现“Certificate for <jcenter.bintray.com> doesn't match any of the subject alterna ...
- 解决url传递过程中加号变空格的问题<转>
url传递过程中加号变空格在接收url参数的过程中,会发现如果参数中存在‘+’号,接收后会变成空格. 如11+22接收后变成11 22.要解决这个问题,需要将加号替换为%2B进行传递. 如11%2B2 ...
- 为Secure Store Service生成新密钥,解决“生成密钥过程中发现错误”的问题
我们集成TFS和SharePoint Server以后,一个最常见的需求是通过SharePoint Server的Excel Service读取TFS报表中的信息,利用Excel Service的强大 ...
- 解决https 请求过程中SSL问题
最近一个项目中用到了https的请求,在实际调用过程中发现之前的http方法不支持https,调用一直报错. 查询了一下,添加几行代码解决问题. public string HttpPost(stri ...
随机推荐
- JavaScript 中的一些奇怪问题
JavaScript 中的一些奇怪问题 JavaScript 在开发过程中可能会出现很多奇怪的问题,以下是一些示例: 1.变量提升问题: 变量提升是 JavaScript 中一个常见的问题,特别是当没 ...
- day11_多态&抽象类&接口
1.多态 1.1 多态的概述(记忆) 什么是多态 同一对象,在不同时刻表现出来的不同形态. 多态的前提 有继承/实现关系 有方法重写 有父类对象的引用执行子类对象 1.2 多态中的成员访问特点 ...
- vue动态绑定类名
<view :class="[index == 0 ? 'bgpvip' : 'bgsvip' ,bg]"> 1.class前面需要加: 2.多个类名可以使用数组的方式 ...
- uniapp 返回上一页事件监听
需求 点击订单页---订单详情页----点击修改地址---来到地址列表,修改地址--- 成功以后返回订单详情页,并且更新界面数据 首先在订单详情页 设置事件 监听另一界面触发事件后 就会执行并 ...
- Matplotlib 网格线
我们可以使用 pyplot 中的 grid() 方法来设置图表中的网格线. grid() 方法语法格式如下: matplotlib.pyplot.grid(b=None, which='major', ...
- Python 闭包,生成式,推导式
闭包概念 闭包,又称闭包函数或者闭合函数,其实和前面讲的嵌套函数类似, 不同之处在于,闭包中外部函数返回的不是一个具体的值,而是一个函数.一般情况下,返回的函数会赋值给一个变量,这个变量可以在后面被继 ...
- Git 知识
1.git merge .git cherry-pick.git rebase 可以看出merge结果能够体现出时间线,但是rebase会打乱时间线. 而rebase看起来简洁,但是merge看起来不 ...
- vue table刷新单行数据
1.给el-table加上标记方法 <el-table v-loading="loading" :data="tagList1" @selection-c ...
- rabbitmq监控与运维
一.系统架构 二.监控 本指南涵盖了使用两个流行工具进行 RabbitMQ 监控: Prometheus,一个监控工具包:和Grafana,一个指标可视化系统.这些工具共同构成了一个强大的工具包,用于 ...
- C语言中关于宏定义的学习
1.C语言中宏定义的使用 2.GCC官方文档 3.C语言宏定义的几个坑和特殊用法