Python csvmapper-和#x27;模块';对象没有属性';DictMapper';
我在Python2.7.8中使用csvmapper 从shell运行我的脚本 这是最基本的 我得到了错误 AttributeError:“模块”对象没有属性“DictMapper” 在研究了这个错误之后,我在第二行添加了这个Python csvmapper-和#x27;模块';对象没有属性';DictMapper';,python,python-2.7,importerror,attributeerror,Python,Python 2.7,Importerror,Attributeerror,我在Python2.7.8中使用csvmapper 从shell运行我的脚本 这是最基本的 我得到了错误 AttributeError:“模块”对象没有属性“DictMapper” 在研究了这个错误之后,我在第二行添加了这个 from csvmapper import DictMapper 现在我收到这个错误 '导入错误:无法导入名称映射器 在Github上找不到此错误的引用,非常混乱。您是否命名了自己的脚本csvmapper?哇。现在我觉得自己很傻。这就是答案,谢谢你。 from csvma
from csvmapper import DictMapper
现在我收到这个错误
'导入错误:无法导入名称映射器
在Github上找不到此错误的引用,非常混乱。您是否命名了自己的脚本
csvmapper
?哇。现在我觉得自己很傻。这就是答案,谢谢你。
from csvmapper import DictMapper