Post
Python
How to solve the error called ImportError: No module named ConfigParser when you need to run packstack command within CentOS?
Posted on 2nd October 2023
As the error states, the packstack command is not capable of loading one of the Python modules, which is named as ConfigParser. It implies you must install a ConfigParser module. I recommend you install Python PIP, which enables you to install modules pretty quickly. Once you own PIP installed, following is the command to install the module of ConfigParser.
$pip install configparser
Collecting configparser
Using cached configparser-3.3.0r2.tar.gz
Building wheels for collected packages: configparser
Running setup.py bdist_wheel for configparser
Stored in directory: /root/.cache/pip/wheels/1a/3e/f9/d34006ad6b1edfe5006aa704f5ee305c553344a7a6d8550c29
Successfully built configparser
Installing collected packages: configparser
Successfully installed configparser-3.3.0.post2
STILL GOT QUERIES?
Copyright © 2013 - 2023 MindMajix Technologies