[英]No module “configparser” even upon installing configparser
I installed python module configparser
with pip install configparser
and it installed 3.5.0. 我用
pip install configparser
安装了python模块configparser
,它安装了3.5.0。 Now, when I am using import configparser
in my .py
file, but then I am getting No module named configparser
. 现在,当我在
.py
文件中使用import configparser
时,却得到了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? 我
/usr/local/lib
在我的$PATH
哪里configparser.py
是什么?
采用
from backports import configparser
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.