Focus on cloud service provider activities
Notes on website operation and maintenance

Resolve the problem of "ImportError: No module named argparse"

The problem should be that Lao Zuo tried to install the Zench evaluation tool script a few days ago( Detailed introduction )I met you when I was here. In the default environment of the test machine, the script tool is not completely run successfully, and "ImportError: No module named argparse ". At that time, I recorded the error content of the error prompt and forgot the screenshot.

The solution is recorded here:

apt-get install python- argparse #Debian

yum install python-argparse #CentOS

Select the corresponding system to install python argparse, and then execute the script to solve the error reporting problem.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( one )
Do not reprint without permission: Lao Zuo's Notes » Resolve the problem of "ImportError: No module named argparse"


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge