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
pip install --ignore-installed six
Source: 1233 thumbs up on this comment
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.
On Ubuntu and Debian
apt-get install python-six
does the trick.
Use sudo apt-get install python-six
if you get an error saying "permission denied".
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)
For Mac OS X:
pip install --ignore-installed six
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