ImportError: No module named six

后端 未结 8 629
无人共我
无人共我 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:16

    I did the following to solve the mentioned problem. I got the mentioned problem when I was trying to run the built exe, even I successfully built the exe using pyinstaller. I did this on Windows 10.

    1. go to https://pypi.org/project/six/#files
    2. download "six-1.14.0.tar.gz (33.9 kB)"
    3. unzip it, copy and paste "six.py" into your source directory.
    4. import "six" module into your source code (import six)
    5. run source script.

提交回复
热议问题