[IPython-dev] Automatic downloading python dependencies on IPython Notebook

Matthias BUSSONNIER bussonniermatthias@gmail....
Tue Jun 18 07:19:11 CDT 2013


I would say that the notebook author could ship its notebook with a requirement.txt, or even issue a 
! pip freeze
in one notebook cell.

But I think this is well beyond notebook scope, but is something anaconda bundle and software like Vagrant[1] excel at.
This does prevent people to use metadata to store such info with extensions….
-- 
Matthias

[1] Yes I am aware of "a VM is not the right solution for dependencies and reproducible research" discussion, and I agree. 



Le 17 juin 2013 à 23:42, Roh H. Lee a écrit :

> I thought virtualenv and pip might help to enable this feature in some way
> without ruining python environments (site-packages) in the system. I am
> not sure about other than Linux distributions. 
> 
> Best,
> Hyungro
> 
> 
> On Mon, Jun 17, 2013 at 12:21 PM, Anthony Scopatz <scopatz@gmail.com> wrote:
> Hello Hyungro,
> 
> The work involved to build this feature correctly scares me.  It would be a great feature to have, but you enter into rolling your own package manager territory very quickly.
> 
> Be Well
> Anthony
> 
> 
> On Mon, Jun 17, 2013 at 2:16 PM, Brian Granger <ellisonbg@gmail.com> wrote:
> The notebook doesn't have any such capability right now, and given the
> difficulty of managing installation across platforms, I don't imagine
> we will try to tackle that.  But, it might make a nice IPython
> extension?
> 
> Cheers,
> 
> Brian
> 
> On Mon, Jun 17, 2013 at 12:03 PM, Roh H. Lee <hroe.lee@gmail.com> wrote:
> > Hi,
> >
> > I wonder if there is an automatic way to install required python package on
> > IPython Notebook.
> > For example, I try to run Non Parametric Regression by downloading and
> > opening its .ipynb file on my machine but I realized my machine doesn't have
> > pymc package. If this happen, I typically use either pip on terminal or !
> > magic function to download the missing python package. Python setup.py
> > supports downloading required packages specified in the configuration. Is
> > there any similar features or means that I can compromise?
> >
> > Sincerely,
> > Hyungro
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> 
> 
> 
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger@calpoly.edu and ellisonbg@gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130618/40c6fe58/attachment-0001.html 


More information about the IPython-dev mailing list