I Googledpip install configparser failed, and the second result was a question from SO:
Python 3 ImportError: No module named 'ConfigParser'
The accepted answer is
In Python 3, ConfigParser has been renamed to configparser for PEP 8 compliance. It looks like the package you are installing does not support Python 3.
So I think your problem is using python 2.x to run 3.x code.
Then, you can put the first sentence in the document:
The ConfigParser module has been renamed to configparser in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.
Give the correct answer. My mac comes with python 2.7, so when executing the command, be sure to add sudo. The correct command is: sudo pip install configparser
I Googled
pip install configparser failed
, and the second result was a question from SO:Python 3 ImportError: No module named 'ConfigParser'
The accepted answer is
So I think your problem is using python 2.x to run 3.x code.
Then, you can put the first sentence in the document:
I think this should solve your problem.
Isn’t this included in the standard library...Does it still need to be installed...
If I read it correctly, there is a prompt that the permissions are insufficient. If it is not a win platform, install it with administrator rights
Use Google
Organize the keywords (concisely express the problem in your mind)
Learn the basics first
Give the correct answer.
My mac comes with python 2.7, so when executing the command, be sure to add sudo. The correct command is:
sudo pip install configparser