Error with Python statsmodels

tylerh

Tyler Harrington
New Member
Hello. I'm trying to import the following packages into my jupyter notebook:

import statsmodels
import statsmodels.api as sm
import statsmodels.formula.api as smf

At first, I got an error message "No module named statsmodels". I then ran the following: git clone git://github.com/statsmodels/statsmodels.git , and now the statsmodels module loads. I still cannot get statsmodels.api or statsmodels.formula.api to load. I've tried loading these modules on my own computer, and they work just fine-they just don't work through Cheyenne. Any help is appreciated.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
You should bring this up with CISL. This isn't really an issue for CESM. Here's the cheyenne page, which includes help at the bottom...

 
Back
Top