BookmarkSubscribeRSS Feed
GeorgeSAS
Lapis Lazuli | Level 10

Hello everyone,

 

I try coding on SAS univeristy edition ,in jupyterlb nootook, I have problem import module:

 

import matplotlib
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-0484cd13f94d> in <module>
----> 1 import matplotlib

ImportError: No module named 'matplotlib'

Please help.

Thanks!

 

2 REPLIES 2
Reeza
Super User
Make sure your cell is pointing to the right kernel. I think you can mix languages in Jupyter but not sure, so you may need to use SAS only coding in a specific notebook and python in another.
ChrisBrooks
Ammonite | Level 13

Hi @GeorgeSAS - the Matplotlib library isn't available in the SAS University Edition of JupyterLab nor can you install it yourself. I understand the thinking is that saspy contains enough graphing and charting facilities for most peoples needs.

 

If you want to see what modules are available enter the following code in a cell and run it.

 

help('modules')

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 626 views
  • 1 like
  • 3 in conversation