'Use HttpRunner to run the command "hrp run" and report an error
Run the following command:
$ hrp run demo/testcases/demo_requests.yml demo/testcases/demo_ref_testcase.yml
error:
11:01AM INF Set log to color console other than JSON format.
11:01AM ??? Set log level
11:01AM INF [init] SetFailfast failfast=true
11:01AM INF [init] SetSaveTests saveTests=false
11:01AM INF [init] SetgenHTMLReport genHTMLReport=true
11:01AM INF [init] SetRequestsLogOn
11:01AM INF load file path=demo/testcases/demo_requests.yml
11:01AM INF load file path=demo/testcases/demo_ref_testcase.yml
11:01AM INF load file path=~/demo/testcases/demo_requests.yml
11:01AM INF load testcases successfully count=2
11:01AM INF ensure python3 venv packages=["funppy==v0.4.3"] python=~/.hrp/venv/bin/python
11:01AM INF installing python package package=funppy==v0.4.3
11:01AM ERR init plugin failed: ~/demo/debugtalk.py error="ensure python venv failed: pip install funppy==v0.4.3 failed: pip install package failed: exit status 1"
11:01AM ERR [Run] init session runner failed error="init plugin failed: ensure python venv failed: pip install funppy==v0.4.3 failed: pip install package failed: exit status 1"
I have installed python3-venv and funppy:
Installed python3-venv
dpkg -l|grep python3-venv ii python3-venv 3.6.7-1~18.04 amd64 pyvenv-3 binary for python3 (default python3 version)
Installed funppy
pip list | grep funppy funppy 0.4.3
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
