ImportError: No module named six

后端 未结 8 630
无人共我
无人共我 2020-11-28 06:52

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\", li         


        
8条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 07:25

    In my case, six was installed for python 2.7 and for 3.7 too, and both pip install six and pip3 install six reported it as already installed, while I still had apps (particularly, the apt program itself) complaining about missing six.

    The solution was to install it for python3.6 specifically:

    /usr/bin/python3.6 -m pip install six
    

提交回复
热议问题