I've installed statsmodels using pip in a terminal. It was successful. But then I couldn't import statsmodels in the notebook. I also tried running !pip install statmodels in the notebook itself. I got: Requirement already satisfied: statsmodels in /Library/Python/2.7/site-packages But am still unable to import it. import statsmodels as sm --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-4-dd062a96f652> in <module>() ----> 1 import statsmodels as sm Am I missing a step? Continue reading...