AttributeError: 'module' object has no attribute 'getpass'
2012-09-04 16:26
846 查看
运行python代码报错如下:
AttributeError: 'module' object has no attribute 'getpass'解决的途径有两个:第一,用easy_install卸载getpassr包之后重装;第二,看新建的文件名就叫做getpass.py,这样会占用了路径无法调用
相关文章推荐
- web.py 启动时候出现AttributeError: 'module' object has no attribute 'inet_pton'错误
- AttributeError: 'module' object has no attribute 的解决方法
- AttributeError: 'module' object has no attribute 的解决方法
- AttributeError: 'module' object has no attribute 'randint'
- python AttributeError: 'module' object has no attribute 'setdefaultencoding'
- AttributeError: 'module' object has no attribute 的解决方法
- 'module' object has no attribute 'getppid' odoo openerp debug报错
- AttributeError: 'module' object has no attribute 'handlers'--Python子模块导入问题
- 使用vectorizer.fit_transform时出现AttributeError: 'file' object has no attribute 'lower'
- solution:AttributeError: 'module' object has no attribute 'PY2'
- Django: 'module' object has no attribute 'index'
- python文件名不要跟模块名相同,报错AttributeError: 'module' object has no attribute 'Differ'
- 'module' object has no attribute 'rindex'
- yum错误'module' object has no attribute 'iterparse'解决方法
- AttributeError: 'module' object has no attribute 'Frame' 解决方法
- openerp.cli.main() AttributeError: 'module' object has no attribute 'cli'
- [Python]attributeError:'module' object has no attribute 'dump'
- Debian (Jessie 8.0) 的修复pip AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- python 使用scapy包告警WARNING: can't import layer inet: 'module' object has no attribute 'IPPROTO_IPIP'
- AttributeError 'module' object has no attribute 'handlers'--Python子模块导入问题