Oh thanks David, interesting, however that’s super counterintuitive .. Then how do you manage to you use one version in a paragraph and another one somewhere else ? Does it mean that you need to use the same one for all the paragraphs you’re working on ? Because I’m wondering how it does as Zeppelin is supposed to run all paragraphs in parallel.
> On Oct 4, 2017, at 4:27 PM, David Howell <david.how...@zipmoney.com.au> wrote: > > Hi Cyril, I found a gif in the original Jira ticket showing how this would > work. It appears that it works similarly to %python.conda > > You would use %python.docker in one paragraph to activate the container, and > just %python in the next paragraph to execute python in the context of that > docker: > > https://cloud.githubusercontent.com/assets/1540981/20421814/38a93a9c-ad1b-11e6-8a64-2d0230ff4d8a.gif > > <https://cloud.githubusercontent.com/assets/1540981/20421814/38a93a9c-ad1b-11e6-8a64-2d0230ff4d8a.gif> > > From: Cyril Scetbon <mailto:cyril.scet...@free.fr> > Sent: Thursday, 5 October 2017 6:13 AM > To: users@zeppelin.apache.org <mailto:users@zeppelin.apache.org> > Subject: python.docker interpreter not working > > Hey guys, > > I’m trying to use python.docker but activating an image doesn’t work. I’m > using version Zeppelin 0.7.3 > > <Screen Shot 2017-10-04 at 3.08.54 PM.png> > > <Screen Shot 2017-10-04 at 3.10.38 PM.png> > > Docker is installed on my machine : > > docker run -ti python:2.7 python -V > > 100% 15:11:16 > Python 2.7.14 > > And this is what I see in Zeppelin logs : > > WARN [2017-10-04 15:10:35,998] ({pool-2-thread-34} > NotebookServer.java[afterStatusChange]:2064) - Job 20171004-150341_2114032812 > is finished, status: ERROR, exception: null, result: %text Not supported > command: activate python:2.7 > print ‘nothing' > > Thanks > — > Cyril Scetbon