asadullah07 asadullah07 - 23 days ago 7
Python Question

ImportError: No module named six

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 "modules\gui\__init__.pyo", line 22, in <module>
File "modules\gui\main.pyo", line 33, in <module>
File "rpc.pyo", line 29, in <module>
File "common\__init__.pyo", line 22, in <module>
File "common\common.pyo", line 26, in <module>
File "tools\__init__.pyo", line 28, in <module>
File "dateutil\relativedelta.pyo", line 12, in <module>
ImportError: No module named six


Could someone guide what's wrong and how it can be fixed???

Answer

You probably don't have the six Python module installed. You can find it on pypi.

To install it:

$ easy_install six

(if you have pip installed, use pip install six instead)

Comments