other:python:starting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:python:starting [2021/09/22 15:32] – [CDAT] Updated info jypeter | other:python:starting [2022/01/04 23:06] – [Using the LSCE jupyterhub server] Added user kernel definition jypeter | ||
---|---|---|---|
Line 30: | Line 30: | ||
</ | </ | ||
- | ===== Ultra quick-start on the LSCE servers ===== | + | ===== Ultra quick-start on the interactive |
==== Initialization ==== | ==== Initialization ==== | ||
Line 123: | Line 123: | ||
- Learn Python by reading what you need on the [[other: | - Learn Python by reading what you need on the [[other: | ||
+ | |||
+ | ===== Using the LSCE jupyterhub server ===== | ||
+ | |||
+ | The [[https:// | ||
+ | * from a computer on the LSCE wired network: https:// | ||
+ | * from other computers: start the [[https:// | ||
+ | |||
+ | ==== Using a non-standard kernel ==== | ||
+ | |||
+ | Note: a //kernel// is a specific python environment/ | ||
+ | |||
+ | The LSCE jupyterhub server can be used to open // | ||
+ | |||
+ | The steps below show how to add a specific [[other: | ||
+ | |||
+ | - Initialize your (favorite) Python environment in a terminal, and (as usual) check which Python executable you are using\\ < | ||
+ | / | ||
+ | |||
+ | > | ||
+ | > | ||
+ | |||
+ | (cdatm_py3) | ||
+ | / | ||
+ | - Determine where the kernel configuration files of the **active** python are located\\ < | ||
+ | Available kernels: | ||
+ | python3 | ||
+ | - Copy the existing kernel directory that you have found to your home directory. You can use the existing kernel name, or use a new kernel name (using only ASCII letters, numbers, | ||
+ | > | ||
+ | |||
+ | > | ||
+ | my_favorite_kernel/ | ||
+ | </ | ||
+ | - Check that the '' | ||
+ | Available kernels: | ||
+ | my_favorite_kernel | ||
+ | python3 | ||
+ | - You can optionally change the value of the '' | ||
+ | kernel.json | ||
+ | |||
+ | > | ||
+ | { | ||
+ | " | ||
+ | "/ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | - refresh the https:// | ||
===== Python distributions available for LSCE users ===== | ===== Python distributions available for LSCE users ===== | ||
other/python/starting.txt · Last modified: 2024/09/13 16:20 by jypeter