Odoo Help


Magento OpenERP Integration ImportError: cannot import name API

Robert G
on 9/2/13, 12:31 PM 3,137 views


I am trying to install Magento OpenERP Integration as described here: openerp-magento-connector[DOT]readthedocs[DOT]org/en/develop/introduction[DOT]html#installation

and when I get to the part that says: "Go to Settings, click on Update Modules List shown under Modules" and I click Update Module List - I get the folllowing error: "ImportError: cannot import name API".

Here's a more detailed description, since I cannot upload an image:

" File "/opt/openerp/v7/addons/magento/magento_.py", line 19, in <module> from .api import OrderConfig File "/opt/openerp/v7/addons/magento/api.py", line 10, in <module> from magento.api import API File "/opt/openerp/v7/addons/magento/api.py", line 10, in <module> from magento.api import API ImportError: cannot import name API"

I got the error: "ImportError: No module named pycountry", then I installed pycountry but now I'm getting this message and I don't know what the solution may be.

Thank you for your answers, regards

On 12/11/13, 3:47 AM

install setup.py first

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 9/2/13, 12:31 PM
Seen: 3137 times
Last updated: 3/16/15, 8:10 AM