当前位置:网站首页>Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
2022-07-07 07:47:00 【ADDA_】
Problem description
stay pycharm Reports can be generated normally on , But in jenkins The following error is always reported when running on .
pytest: error: unrecognized arguments: --alluredir=reports
inifile: None
rootdir: D:\xxx
Cause analysis :
A great deal of information has been collected , To sum up :
1、 install allure-pytest And allure-python-commons Our environment is virtual , No pytest Operating environment ;
2、 There are many. python, Make a mistake .
Solution :
in the light of 1 Solution :
1、cmd Input pip list Check the installation , No, allure-pytest perform pip install allure-pytest It should be ok ;
2、 Already installed , Need to be reinstalled allure-pytest And allure-python-commons, It's best to uninstall both , Otherwise, there may be problems , Unload command pip uninstall allure-pytest、pip uninstall allure-python-commons, Installation command pip install allure-pytest、pip install allure-python-commons
边栏推荐
- 解决could not find or load the Qt platform plugin “xcb“in ““.
- 1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration
- My ideal software tester development status
- [Stanford Jiwang cs144 project] lab3: tcpsender
- Leetcode-206. Reverse Linked List
- Make a bat file for cleaning system garbage
- Six methods of flattening arrays with JS
- leanote私有云笔记搭建
- Leetcode-226. Invert Binary Tree
- Gslx680 touch screen driver source code analysis (gslx680. C)
猜你喜欢
Mysql高低版本切换需要修改的配置5-8(此处以aicode为例)
UWB learning 1
Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
What are the positions of communication equipment manufacturers?
Redis data migration
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
[SUCTF 2019]Game
[GUET-CTF2019]虚假的压缩包
leetcode:105. 从前序与中序遍历序列构造二叉树
海思芯片(hi3516dv300)uboot镜像生成过程详解
随机推荐
【斯坦福计网CS144项目】Lab4: TCPConnection
Pytorch parameter initialization
My ideal software tester development status
为什么要了解现货黄金走势?
Operation suggestions for today's spot Silver
The metauniverse of the platofarm farm continues to expand, with Dao governance as the core
URP - shaders and materials - light shader lit
MobaXterm
Make a bat file for cleaning system garbage
1、 Go knowledge check and remedy + practical course notes youth training camp notes
在线直播系统源码,使用ValueAnimator实现view放大缩小动画效果
2、 Concurrent and test notes youth training camp notes
L'externalisation a duré trois ans.
四、高性能 Go 语言发行版优化与落地实践 青训营笔记
[performance pressure test] how to do a good job of performance pressure test?
Solution: could not find kf5 (missing: coreaddons dbusaddons doctools xmlgui)
Dynamics CRM server deployment - restore database prompt: the database is in use
Leetcode-206. Reverse Linked List
【经验分享】如何为visio扩展云服务图标
Why should we understand the trend of spot gold?