Post

PythonPython

k
kumar san

Posted on 22nd April 2024|1566 views

0
votes

No Module Named Configparser

How to solve the error called ImportError: No module named ConfigParser when you need to run packstack command within CentOS?

Answers
P
imran mohammad

Posted on 22nd April 2024

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

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos