[IPython-dev] Using virtualenvs as kernels for Jupyter

Filipe Pires Alvarenga Fernandes ocefpaf at gmail.com
Fri Aug 22 14:40:39 EDT 2014


On Fri, Aug 22, 2014 at 2:34 PM, Fernando Perez <fperez.net at gmail.com>
wrote:

> We looked into it and as far as we can tell, all the pieces we're
> providing for the kernel spec should make it possible to have your kernel
> entry point do the switching.
>

OK, I will keep trying to have something more robust.  Right now I am doing
a very hackish workaround.


> But we will NOT bake into the kernel spec direct knowledge of venv, conda
> envs, or any other 'enviornment manager'. We want to make it *possible* do
> declare kernels that are connected to environments, but as of yet, there
> are just too many ways of 'managing environments' across languages and
> toolchains for us to enshrine any particular approach into the spec itself.
>

I understand (and I agree) with that.


> As I say above, we looked into it, but we didn't actually implement
> anything yet. So we'd encourage you to try things out, and report both with
> what works (I'm sure others are interested) and what doesn't (so we can
> help out or fix things if needed)
>

As soon as I have something better I will post it here.


> Cheers
>
> f
>

Thanks,

-Filipe


>
>
> On Fri, Aug 22, 2014 at 8:55 AM, Filipe Pires Alvarenga Fernandes <
> ocefpaf at gmail.com> wrote:
>
>> Have anyone tried to use venvs as kernels?  Making the installed vens
>> show up in the drop-down menu in the new Jupyter Notebook?
>>
>> I was toying with the idea but got nowhere near something useful.
>>
>> I think it would be a nice way to switch between virtual environments.
>>
>> -Filipe
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140822/c8822c14/attachment.html>


More information about the IPython-dev mailing list