Table of Contents
Solution to HTTP Runner scaffolding creation project error
Home Backend Development Python Tutorial How to solve the problem of errors in creating HTTPRunner scaffolding?

How to solve the problem of errors in creating HTTPRunner scaffolding?

Apr 01, 2025 pm 05:03 PM
python windows computer ai Solution

How to solve the problem of errors in creating HTTPRunner scaffolding?

Solution to HTTP Runner scaffolding creation project error

When creating a project using HTTP Runner scaffolding, you may encounter an error that the cmd.exe file path is not found, causing funppy package installation to fail and the final project creation fails. This article provides several solutions.

Error log example:

 <code>7:01pm inf ensure python3 venv packages=["funppy==v0.5.0","httprunner==v4.3.5"] python3="c:\users\administrator\.hrp\venv\scripts\python.exe" 7:01pm inf exec command cmd="c:\windows\system32\cmd.exe" pip 23.2.1 from c:\users\administrator.hrp\venv\lib\site-packages\pip (python 3.12) 7:01pm inf installing python package pkgname=funppy pkgversion=v0.5.0 7:01pm inf exec command cmd=cmd.exe 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>
Copy after login

Even reinstalling HTTP Runner failed to resolve the issue, try the following:

  1. Verify environment variables: Check whether the system environment variable PATH contains the path to cmd.exe (usually C:\Windows\System32 ). Method: Right-click "This Computer" -> "Properties" -> "Advanced System Settings" -> "Environment Variables". Make sure the path is correct and add or modify it if necessary.

  2. Manually create virtual environments and install dependencies: Manually create Python virtual environments and install the required packages:

     python -m venv myenv
    myenv\Scripts\activate # Windows system pip install funppy==v0.5.0 httprunner==v4.3.5
    Copy after login

    After activating the virtual environment, try hrp startproject demo1 again.

  3. Check HTTP Runner version compatibility: Try using an earlier version of HTTP Runner to see if it is compatible with the current system environment.

  4. Administrator permissions run: Run the command line window as administrator to resolve potential permission problems.

If the above method still cannot solve the problem, it is recommended to refer to the official HTTP Runner documentation or seek community support.

The above is the detailed content of How to solve the problem of errors in creating HTTPRunner scaffolding?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1673
14
PHP Tutorial
1277
29
C# Tutorial
1257
24
Top 10 cryptocurrency platforms in the world that support multi-chain transactions are authoritatively released in 2025 Top 10 cryptocurrency platforms in the world that support multi-chain transactions are authoritatively released in 2025 May 08, 2025 pm 07:15 PM

According to the latest evaluations and industry trends from authoritative institutions in 2025, the following are the top ten cryptocurrency platforms in the world that support multi-chain transactions, combining transaction volume, technological innovation, compliance and user reputation comprehensive analysis:

AI and Composer: Enhancing Code Quality and Development AI and Composer: Enhancing Code Quality and Development May 09, 2025 am 12:20 AM

In Composer, AI mainly improves development efficiency and code quality through dependency recommendation, dependency conflict resolution and code quality improvement. 1. AI can recommend appropriate dependency packages according to project needs. 2. AI provides intelligent solutions to deal with dependency conflicts. 3. AI reviews code and provides optimization suggestions to improve code quality. Through these functions, developers can focus more on the implementation of business logic.

Python vs. JavaScript: A Comparative Analysis for Developers Python vs. JavaScript: A Comparative Analysis for Developers May 09, 2025 am 12:22 AM

The main difference between Python and JavaScript is the type system and application scenarios. 1. Python uses dynamic types, suitable for scientific computing and data analysis. 2. JavaScript adopts weak types and is widely used in front-end and full-stack development. The two have their own advantages in asynchronous programming and performance optimization, and should be decided according to project requirements when choosing.

Strategy for making money with zero foundation: 5 types of altcoins that must be stocked in 2025, make sure to make 50 times more profitable! Strategy for making money with zero foundation: 5 types of altcoins that must be stocked in 2025, make sure to make 50 times more profitable! May 08, 2025 pm 08:30 PM

In cryptocurrency markets, altcoins are often seen by investors as potentially high-return assets. Although there are many altcoins on the market, not all altcoins can bring the expected benefits. This article will provide a detailed guide for investors with zero foundation, introducing the 5 altcoins worth hoarding in 2025, and explaining how to achieve the goal of making a 50x steady profit through these investments.

Top 10 cryptocurrency exchanges in the currency circle, the latest ranking of the top 10 digital currency trading platforms in 2025 Top 10 cryptocurrency exchanges in the currency circle, the latest ranking of the top 10 digital currency trading platforms in 2025 May 08, 2025 pm 10:45 PM

Ranking of the top ten cryptocurrency exchanges in the currency circle: 1. Binance: Leading the world, providing efficient trading and a variety of financial products. 2. OKX: It is innovative and diverse, supporting a variety of transaction types. 3. Huobi: Stable and reliable, with high-quality service. 4. Coinbase: Be friendly for beginners and simple interface. 5. Kraken: The first choice for professional traders, with powerful tools. 6. Bitfinex: efficient trading, rich trading pairs. 7. Bittrex: Safety compliance, regulatory cooperation. 8. Poloniex and so on.

Yiou official website entrance Yiou exchange Apple entrance official entry Yiou official website entrance Yiou exchange Apple entrance official entry May 08, 2025 pm 11:12 PM

A world-renowned digital currency trading platform, established in 2014, is committed to providing users with safe and convenient digital asset trading services. As an international exchange, Yiou supports the transaction of a variety of mainstream and niche digital currencies, attracting users from all over the world. Whether newbies or experienced traders, you can find trading tools and services that suit you on the Yiou platform.

Shocking release! The latest authoritative rankings of the top ten exchange apps in the 2025 currency circle Shocking release! The latest authoritative rankings of the top ten exchange apps in the 2025 currency circle May 08, 2025 pm 08:03 PM

The following is the authoritative comprehensive ranking of the global digital currency exchange app in 2025, which is compiled based on multi-dimensional data such as transaction volume, security, compliance and user experience to help you accurately grasp market trends:

Web3 AI Crypto Presale provides hedge fund trading tools for all users Web3 AI Crypto Presale provides hedge fund trading tools for all users May 08, 2025 pm 08:24 PM

In a market that is often driven by substantive stories, real features may be missed. PiCoin is gaining momentum through its community’s support and increased institutional interest ahead of the 2025 consensus. In a market that is often driven by substantive stories, it’s easy to miss out on real features. PiCoin (PI) gained momentum before consensus was reached in 2025, while Cardano (ADA) faced new competitors when it was moving faster, and another project is offering something different. While Web3AI cryptocurrency is still in pre-sale state, it is not a concern that it gets by chasing trends, but by giving users access to the same type of tools used by quantum hedge funds

See all articles