This error sometimes happens when one (or several) of the module in the addons-path uses the syntax "import name_of_an_addons" instead of "import openerp.addons.name_of_an_addons". You need to check for the addons with wrong imports and fix them.
This error sometimes happens when one (or several) of the module in the addons-path uses the syntax "import name_of_an_addons" instead of "import openerp. addons. name_of_ an_addons" .
You need to check for the addons with wrong imports and fix them.