You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marvin.apache.org by Zhang Yifei <yi...@gmail.com> on 2019/11/04 13:16:48 UTC

dynamic_import error in docker

Hello guys,,

Any idea about this error here
https://issues.apache.org/jira/projects/MARVIN/issues/MARVIN-69?filter=allopenissues
?

The engine works perfectly while running directly in local machine with
command: marvin engine-httpserver,
When encapsulated in docker container, the same command to start httpserver
raise dynamic_import error - ImportError: No module named marvin_cba3_engine

Looks like some dependency mapping error....


Many thanks

-- 
--------------------------------------------------------------
Zhang Yifei

Re: dynamic_import error in docker

Posted by Zhang Yifei <yi...@gmail.com>.
Hey Rafael,

It worked, its setup.py file that was missing during the installation.

Thanks!!!

Em ter., 5 de nov. de 2019 às 15:11, Rafael Novello <
rafa.reis.novello@gmail.com> escreveu:

> Hi Zhang,
>
> It's look like your engine was not installed successfully on you docker
> image. Try to rebuild your docker image and check the installation process
> or access your engine container by bash and try to install the engine
> manually (with something like python setup install)
>
> Best!
> Atenciosamente,
> Rafael J. R. Novello
>
> Skype: rafael.novello
> Blog: http://rafanovello.blogspot.com.br/
>
>
> Em seg., 4 de nov. de 2019 às 11:17, Zhang Yifei <yi...@gmail.com>
> escreveu:
>
> > Hello guys,,
> >
> > Any idea about this error here
> >
> >
> https://issues.apache.org/jira/projects/MARVIN/issues/MARVIN-69?filter=allopenissues
> > ?
> >
> > The engine works perfectly while running directly in local machine with
> > command: marvin engine-httpserver,
> > When encapsulated in docker container, the same command to start
> httpserver
> > raise dynamic_import error - ImportError: No module named
> > marvin_cba3_engine
> >
> > Looks like some dependency mapping error....
> >
> >
> > Many thanks
> >
> > --
> > --------------------------------------------------------------
> > Zhang Yifei
> >
>


-- 
--------------------------------------------------------------
Zhang Yifei

Re: dynamic_import error in docker

Posted by Rafael Novello <ra...@gmail.com>.
Hi Zhang,

It's look like your engine was not installed successfully on you docker
image. Try to rebuild your docker image and check the installation process
or access your engine container by bash and try to install the engine
manually (with something like python setup install)

Best!
Atenciosamente,
Rafael J. R. Novello

Skype: rafael.novello
Blog: http://rafanovello.blogspot.com.br/


Em seg., 4 de nov. de 2019 às 11:17, Zhang Yifei <yi...@gmail.com>
escreveu:

> Hello guys,,
>
> Any idea about this error here
>
> https://issues.apache.org/jira/projects/MARVIN/issues/MARVIN-69?filter=allopenissues
> ?
>
> The engine works perfectly while running directly in local machine with
> command: marvin engine-httpserver,
> When encapsulated in docker container, the same command to start httpserver
> raise dynamic_import error - ImportError: No module named
> marvin_cba3_engine
>
> Looks like some dependency mapping error....
>
>
> Many thanks
>
> --
> --------------------------------------------------------------
> Zhang Yifei
>