本文介绍了导入错误:没有名为 6 的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试构建 OpenERP 项目,已完成依赖项.现在出现这个错误
I'm trying to build OpenERP project, done with dependencies. It's giving this error now
Traceback (most recent call last):
File "openerp-client.py", line 105, in <module>
File "modules\__init__.pyo", line 23, in <module>
File "modulesgui\__init__.pyo", line 22, in <module>
File "modulesguimain.pyo", line 33, in <module>
File "rpc.pyo", line 29, in <module>
File "common\__init__.pyo", line 22, in <module>
File "commoncommon.pyo", line 26, in <module>
File "tools\__init__.pyo", line 28, in <module>
File "dateutil
elativedelta.pyo", line 12, in <module>
ImportError: No module named six
有人可以指导一下出了什么问题以及如何解决吗???
Could someone guide what's wrong and how it can be fixed???
推荐答案
您可能没有安装 six
Python 模块.您可以在 pypi 上找到它.
You probably don't have the six
Python module installed. You can find it on pypi.
安装:
$ easy_install six
(如果您安装了pip
,请使用pip install 6
代替)
(if you have pip
installed, use pip install six
instead)
这篇关于导入错误:没有名为 6 的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!