Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6077 Visualizações

Hello,

I am trying to install Magento OpenERP Integration 7.0.0.1 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

Avatar
Cancelar
Melhor resposta

install setup.py first

Avatar
Cancelar