Hello all! This is my first time using the NCAR/UCAR Jupyter via Cheyenne, and it is not able to recognize matplot imports or windrose imports in notebooks that I have uploaded. How can I get it to recognize those? In a local distribution using Anaconda I am able to install any missing packages on its command prompt, but I am not sure if as a Student I have access to command prompt install privileges, as well as where I could even go to install those (There is a terminal usually within Jupyter itself but you typically need permissions to install via there). If anyone has some pointers on how to install python packages on the Cheyenne Jupyter interface, it'd be very useful! Thanks!
Hi @Muntaha Pasha,
Could you elaborate on "Jupyter via Cheyenne" i.e are you launching Jupyter via https://www2.cisl.ucar.edu/resources/jupyter-and-ipython or jupyterhub.ucar.edu?
Yes, I am launching Jupyterhub.ucar.edu!
@Muntaha Pasha, thank you for your patience! I recorded a 3 video series about package management with conda on casper/cheyenne. You may find it useful and hopefully it answers most of your questions about package management.
Here's the playlist on Youtube
https://www.youtube.com/playlist?list=PLWY96VGjE_zrzcaYcTF499clyKZ1bSaKW
@Stephen Yeager and @Aneesh subramanian you may find this useful
Thanks very much, @Anderson Banihirwe ! This will be very useful when I teach my climate modeling class next in addition to being a great reference for everyone using the jupyterhub.
Thank you for the resources! In viewing the first video however, I think you need to be able to access the terminal, which I don't have. I'm using a local at home laptop, is there any way for me to get the specific terminal needed? I'm using the latest Windows OS. I was hoping there was maybe a way I could just do it on the user interface without needing to install a specific terminal to access Cheyenne. Do you know of any ways to do it locally, or will I most likely need to contact the people within my department to ask about getting into Cheyenne via the necessary linux command prompt?
Thanks again for your help! :)
Thank you for the resources! In viewing the first video however, I think you need to be able to access the terminal, which I don't have. I'm using a local at home laptop, is there any way for me to get the specific terminal needed?
Since you already have access to the JupyterHub, you should be able to access Casper/Cheyenne. From your local terminal,
run:
ssh YOURUSERNAME_ON_CASPER_OR_CHEYENNE@casper.ucar.edu
The YOURUSERNAME_ON_CASPER_OR_CHEYENNE
is the same as the one you've been using on jupyterhub.ucar.edu
I'm using a local at home laptop, is there any way for me to get the specific terminal needed? I'm using the latest Windows OS. I was hoping there was maybe a way I could just do it on the user interface without needing to install a specific terminal to access Cheyenne.
Assuming you are running Windows 10, you can run ssh
directly via the Windows PowerShell
program. I'd recommend installing PuTTY though, and using it to connect. Note that it can also be used to ssh to your department's Linux machines.
Thanks! Do you know what the "Token Response" refers to? Is that just my password?
I think what Token Response is depends on how you have two-factor authentication set up with your account. I'm using the Duo app with push notifications, so I type my password in and hit enter, and then follow steps on my phone to complete the login... but before that I was using a yubikey and in that case I typed my PIN and then touched the yubikey button to complete the password. See CISL's authentication documentation for more details.
if you were able to log in to jupyterhub successfully, then whatever process you used for the password field there should work as Token Response
@Anderson Banihirwe Hello Anderson! I had a quick question. Now that I am able to follow your tutorial, I got stuck on part 3, specifically when trying to use Nano to create the yml file. I only have vi, and vi does not recognize ":" for some reason. Am I able to install nano on Cheyenne using sudo apt install nano? I just want to make sure as a student I'd have the permission to do so.
Thank you!
@Muntaha Pasha you do not have sudo
access on cheyenne, but CISL has already installed nano
. Run module load nano
and then it will be available.
@Michael Levy Thanks a bunch! :D
Last updated: May 16 2025 at 17:14 UTC