Skip to content

Commit 7973a76

Browse files
committed
update python instructions
1 parent 0ab59ff commit 7973a76

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

sphinx_docs/source/workstations.rst

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@ On ahsoka:
1919
pip install jupyterlab
2020
pip install yt
2121

22+
.. tip::
23+
24+
if you want to instead use a later version of python (python 3.12 is installed)
25+
then do::
26+
27+
pip3.12 install ipykernel
28+
python3.12 -m ipykernel install --user --name mypython312 --display-name "Python 3.12 (Custom)"
29+
30+
then make sure that the kernel is installed by checking::
31+
32+
jupyter kernelspec list
33+
34+
you can then use ``pip3.12`` to install any packages for python 3.12, e.g.::
35+
36+
pip3.12 install yt
37+
2238
* Start up jupyter on the remote (ahsoka) machine::
2339

2440
jupyter lab --no-browser --ip=127.0.0.1
@@ -72,9 +88,14 @@ On your local workstation
7288
machine, and it is already using port ``8888``, so kill the local
7389
instance of Jupyter and try again.
7490

75-
* Finally, point your web browser to the URL
76-
output on ahsoka (we referenced this above as ``http://127.0.0.1:8888/lab?token=8469f3fb822e2a32c94...``)
91+
* Finally, point your web browser to the URL
92+
output on ahsoka (we referenced this above as ``http://127.0.0.1:8888/lab?token=8469f3fb822e2a32c94...``)
93+
94+
This should open the Jupyter server on the remote machine in your
95+
local browser.
96+
97+
.. tip::
7798

78-
This should open the Jupyter server on the remote machine in your
79-
local browser.
99+
If you installed a python 3.12 kernel, then when Jupyter launches, select
100+
that kernel on the launcher screen.
80101

0 commit comments

Comments
 (0)