User Tools

Site Tools


jupyter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
jupyter [2025/07/09 18:50] astroadminjupyter [2025/07/09 19:46] (current) astroadmin
Line 2: Line 2:
  
   - Item Choose a port that is not being used on Astronomy. Lets call it 1234.   - Item Choose a port that is not being used on Astronomy. Lets call it 1234.
-  - Open a command line terminal and type: "ssh my_login@astronomy.nmsu.edu -NL 1234:localhost:1234"+  - Open a command line terminal and type: "ssh username@astronomy.nmsu.edu -NL 1234:localhost:1234"
   - Enter your password at the prompt. The terminal may appear to hang; this is fine.   - Enter your password at the prompt. The terminal may appear to hang; this is fine.
  
Line 14: Line 14:
   - Copy the URL that starts with "http://localhost:1234". CAREFUL: Using ctrl-c to copy selected text will kill the notebook!   - Copy the URL that starts with "http://localhost:1234". CAREFUL: Using ctrl-c to copy selected text will kill the notebook!
   - Paste the URL into your browser of choice. If all goes well, you'll be greeted by a the standard jupyter-notebook file browser screen!   - Paste the URL into your browser of choice. If all goes well, you'll be greeted by a the standard jupyter-notebook file browser screen!
 +
 +=== Important commands ===
 +<code>
 +ssh username@astronomy.nmsu.edu -NL 1234:localhost:1234
 +
 +conda activate py3.11
 +
 +jupyter-notebook --no-browser --port 1234
 +</code>
  
  
jupyter.txt · Last modified: by astroadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki