简体   繁体   中英

No module “configparser” even upon installing configparser

I installed python module configparser with pip install configparser and it installed 3.5.0. Now, when I am using import configparser in my .py file, but then I am getting No module named configparser . Can someone explain why is this so and how can I fix it? I have /usr/local/lib in my $PATH where configparser.py is?

采用

from backports import configparser

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM