[jupyter] Re: environment variables in terminal

2017-12-26 Thread Roland Weber
As explained by Lawrence: set your LD_LIBRARY_PATH in .bashrc instead of .profile. -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[jupyter] Re: build installable file - OLPC XO laptop - Fedora 18

2017-12-26 Thread Roland Weber
Hello Tony, have a look at Miniconda. It has about 35 MB, instead of the 500+MB of a full Anaconda installer. Then create an Anaconda environment that has only the packages relevant for your environment: 1. Miniconda 2. Jupyter Notebook and dependencies 3. additional science packages Then

[jupyter] Re: Restart snippet numbering in the middle of a notebook?

2017-12-26 Thread Roland Weber
On Tuesday, December 26, 2017 at 3:42:23 PM UTC+1, insearcho...@gmail.com wrote: > > But once I ship out the notebook to others, they'd need to do the same as > they execute cells, correct? > Once you ship out the notebook to others, they can execute and re-execute cells in whatever order they

[jupyter] Re: environment variables in terminal

2017-12-26 Thread Lawrence D’Oliveiro
On Wednesday, December 27, 2017 at 9:44:28 AM UTC+13, Gideon Simpson wrote: > > ... when I open one of these web based terminals, it does not appear to > source my .profile which sets an LD_LIBRARY_PATH variable needed for some > libraries. > >From the docs

[jupyter] environment variables in terminal

2017-12-26 Thread Gideon Simpson
I'm running a jupyter notebook server and occasionally I also make use of the terminals on the server. I noticed that when I open one of these web based terminals, it does not appear to source my .profile which sets an LD_LIBRARY_PATH variable needed for some libraries. Is there a way I can

Re: [jupyter] Re: Restart snippet numbering in the middle of a notebook?

2017-12-26 Thread M Pacer
Also, if you wanted a static version that would drop all those cells in addition to a tag you could use the regexRemovePreprocessor (with an nbconvert config option) to automatically remove all cells that match a regular expression that matches exactly those characters. On Tue, Dec 26, 2017 at

Re: [jupyter] Re: Restart snippet numbering in the middle of a notebook?

2017-12-26 Thread M Pacer
If you want a clean environment you can include a cell that runs %reset -f That will reset your environment to a clean state if you don’t want any of the variables to carry over. But then people would need to execute that cell. On Tue, Dec 26, 2017 at 06:43

Re: [jupyter] Re: Restart snippet numbering in the middle of a notebook?

2017-12-26 Thread insearchofanswers87
Can we programmatically have the notebook "forget" all prior code snippets as well so we effectively have a "clean" environment for a new section? On Wednesday, 20 December 2017 05:33:30 UTC-5, Fernando Perez wrote: > > On Mon, Dec 18, 2017 at 10:48 PM, Roland Weber >

Re: [jupyter] Re: Restart snippet numbering in the middle of a notebook?

2017-12-26 Thread insearchofanswers87
Thanks Fernando! On Wednesday, 20 December 2017 05:33:30 UTC-5, Fernando Perez wrote: > > On Mon, Dec 18, 2017 at 10:48 PM, Roland Weber > wrote: > >> Restart the kernel before each section. That will clear all state in >> memory, and reset the execution count >> > > You