-
Notifications
You must be signed in to change notification settings - Fork 4.9k
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specification of kernel directory on command line? #53
Comments
Is |
Yes, that works nicely. Thank you!
I'm going to test the portability by moving between machines but things are looking good! |
Great. I'll leave this open because I think specifying a relative path in argv works by happy coincidence rather than deliberate design, and we might want to formalise a way to do that. |
Thanks. For info, here are the steps I took to get everything working using Portable Python and Portable R |
Great, thanks for writing that up. It looks like portable builds of Python will be an official thing when Python 3.5 comes out, so we won't have to rely on a not-very-maintained third party build. I quite like the idea of making 'Jupyter on a stick' - a USB stick with Jupyter, IPython, R and whatever else makes sense. |
This makes it easier to make a portable Jupyter+kernels setup, because you can specify executable paths for kernels relative to the parent process' prefix, e.g. `argv: ['{prefix}/bin/R', ...]` Closes jupyter/notebook#53
This makes it easier to make a portable Jupyter+kernels setup, because you can specify executable paths for kernels relative to the parent process' prefix, e.g. `argv: ['{prefix}/bin/R', ...]` Closes jupyter/notebook#53
jupyter/jupyter_client#8 would make it possible to specify an executable with a relative path from sys.prefix, like |
Kernel specification files can currently be one of two locations - System wide or user specific.
Would it be possible to add the ability to specify a kernel directory on the command line? Something like
ipython notebook --kernel_dir=/Users/me/my_kernels/
This could take precedence over the other 2 locations.
One example where this would be useful:
I'm currently trying to build a portable Jupyter install on windows that includes an R kernel. It's for teaching use on a heavily locked-down managed desktop.
The install is based on the PortablePython project and works reasonably well. I have 2 problems, however:
The enhancement proposed here would fix everything since I could specify the kernel_dir as a relative path in a launch shortcut.
The text was updated successfully, but these errors were encountered: