


How to solve the error problem encountered when creating a project of HttpRunner?
Apr 02, 2025 am 06:33 AMTroubleshooting and Resolving Errors in Scaffolding Creation Projects
When creating a test project using HttpRunner, hrp startproject
command occasionally fails. This article will analyze the causes and solutions for common errors.
Problem phenomenon
After executing hrp startproject demo1
, an error similar to the following may occur:
<code>... 7:01pm err exec command failed error="exec: \"cmd.exe\": executable file not found in %path%" 7:01pm err create scaffold project failed error="pip install funppy==v0.5.0 failed: pip install package failed: exec: \"cmd.exe\": executable file not found in %PATH%": prepare python3 venv failed" error: pip install funppy==v0.5.0 failed: pip install package failed: exec: "cmd.exe": executable file not found in %PATH%: prepare python3 venv failed 7:01pm wrn hrp exit code=9</code>
Even if HttpRunner is reinstalled, the problem persists.
Solution
Verify the system environment variable: The error message prompts
cmd.exe
not found, indicating that the system environment variablePATH
may be configured incorrectly. Please check whether thePATH
variable contains theC:\Windows\System32
path. If missing, please add it manually.-
Manual installation of dependencies: Error prompts that the installation of
funppy
package failed. Try installing manually:- Activate the HttpRunner virtual environment.
- Execute
pip install funppy==v0.5.0
command. - After the installation is complete, run
hrp startproject demo1
again.
Rebuilding the virtual environment: The virtual environment may be corrupted. Delete the existing virtual environment directory (usually located in the user directory.hrp
.hrp\venv
), and re-runhrp startproject demo1
, so that HttpRunner automatically creates new virtual environments and installs dependencies.Check HttpRunner version compatibility: Make sure the HttpRunner version is compatible with the system. Try upgrading or downgrading HttpRunner:
pip install --upgrade httprunner
orpip install httprunner==<version></version>
(replace<version></version>
for the required version).Administrator permissions run: Permission issues may cause command execution to fail. Try running the command line tool as an administrator and then execute
hrp startproject demo1
.
If the above method is invalid, it is recommended to visit the official HttpRunner community or forum for further support.
The above is the detailed content of How to solve the error problem encountered when creating a project of HttpRunner?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

1. First, ensure that the device network is stable and has sufficient storage space; 2. Download it through the official download address [adid]fbd7939d674997cdb4692d34de8633c4[/adid]; 3. Complete the installation according to the device prompts, and the official channel is safe and reliable; 4. After the installation is completed, you can experience professional trading services comparable to HTX and Ouyi platforms; the new version 5.0.5 feature highlights include: 1. Optimize the user interface, and the operation is more intuitive and convenient; 2. Improve transaction performance and reduce delays and slippages; 3. Enhance security protection and adopt advanced encryption technology; 4. Add a variety of new technical analysis chart tools; pay attention to: 1. Properly keep the account password to avoid logging in on public devices; 2.

First, choose a reputable trading platform such as Binance, Ouyi, Huobi or Damen Exchange; 1. Register an account and set a strong password; 2. Complete identity verification (KYC) and submit real documents; 3. Select the appropriate merchant to purchase USDT and complete payment through C2C transactions; 4. Enable two-factor identity verification, set a capital password and regularly check account activities to ensure security. The entire process needs to be operated on the official platform to prevent phishing, and finally complete the purchase and security management of USDT.

First, choose a reputable digital asset platform. 1. Recommend mainstream platforms such as Binance, Ouyi, Huobi, Damen Exchange; 2. Visit the official website and click "Register", use your email or mobile phone number and set a high-strength password; 3. Complete email or mobile phone verification code verification; 4. After logging in, perform identity verification (KYC), submit identity proof documents and complete facial recognition; 5. Enable two-factor identity verification (2FA), set an independent fund password, and regularly check the login record to ensure the security of the account, and finally successfully open and manage the USDT virtual currency account.

Ouyi APP is a professional digital asset service platform dedicated to providing global users with a safe, stable and efficient trading experience. This article will introduce in detail the download method and core functions of its official version v6.129.0 to help users get started quickly. This version has been fully upgraded in terms of user experience, transaction performance and security, aiming to meet the diverse needs of users at different levels, allowing users to easily manage and trade their digital assets.

Use multiprocessing.Queue to safely pass data between multiple processes, suitable for scenarios of multiple producers and consumers; 2. Use multiprocessing.Pipe to achieve bidirectional high-speed communication between two processes, but only for two-point connections; 3. Use Value and Array to store simple data types in shared memory, and need to be used with Lock to avoid competition conditions; 4. Use Manager to share complex data structures such as lists and dictionaries, which are highly flexible but have low performance, and are suitable for scenarios with complex shared states; appropriate methods should be selected based on data size, performance requirements and complexity. Queue and Manager are most suitable for beginners.

ToresolvenetworkconnectivityissuesinWindows,resettheTCP/IPstackbyfirstopeningCommandPromptasAdministrator,thenrunningthecommandnetshintipreset,andfinallyrestartingyourcomputertoapplychanges;ifissuespersist,optionallyrunnetshwinsockresetandrebootagain

This article introduces the top virtual currency trading platforms and their core features. 1. Binance provides a wide range of trading pairs, high liquidity, high security, friendly interface and rich derivative trading options; 2. Ouyi is known for its powerful contract trading functions, fiat currency deposit and withdrawal support, intuitive interface, new project display activities and complete customer service; 3. Sesame Open supports thousands of currency trading, low transaction fees, innovative financial products, stable operations and good community interaction; 4. Huobi has a huge user base, rich trading tools, global layout, diversified income services and strong risk control compliance capabilities; 5. KuCoin is famous for discovering high-growth tokens, providing a wide range of trading pairs, simple interfaces, diversified income channels and extensive industry cooperation; 6. Krak

VerifytheWindowsISOisfromMicrosoftandrecreatethebootableUSBusingtheMediaCreationToolorRufuswithcorrectsettings;2.Ensurehardwaremeetsrequirements,testRAMandstoragehealth,anddisconnectunnecessaryperipherals;3.ConfirmBIOS/UEFIsettingsmatchtheinstallatio
