i am trying to install gensim using
sudo -H pip install --upgrade gensim
but it is giving me this error :
File \"setup.py\",
In my case i have odoo v10 installed and for any weird reason update or installed a library that stuck my server and not longer to start with XOE.
The error was:
cannot import name py31compat
After 1 hour trying many differents things i decide uninstall:
sudo pip uninstall setuptools
Uninstalling setuptools-40.8.0: Would remove: /usr/local/bin/easy_install /usr/local/bin/easy_install-2.7 /usr/local/lib/python2.7/dist-packages/easy_install.py /usr/local/lib/python2.7/dist-packages/pkg_resources/* /usr/local/lib/python2.7/dist-packages/setuptools-40.8.0.dist-info/**
And my service odoo server starts and works fine again!