SageMaker (AWS) Setup - ModuleNotFoundError

I was able to get my jupyterlab started with SageMaker and pull the course20 git repo.
But I have a couple of questions

  1. ModuleNotFoundError: No module named ‘fastai’
    This happens when I try to run the first snippet of images.ipynb
    I think I have cloned course20 correctly. I’m wondering if I have my conda setup properly.

sh-4.2$ conda info -e
conda environments:

base /home/ec2-user/anaconda3
JupyterSystemEnv * /home/ec2-user/anaconda3/envs/JupyterSystemEnv
R /home/ec2-user/anaconda3/envs/R
amazonei_mxnet_p27 /home/ec2-user/anaconda3/envs/amazonei_mxnet_p27
amazonei_mxnet_p36 /home/ec2-user/anaconda3/envs/amazonei_mxnet_p36
amazonei_pytorch_latest_p36 /home/ec2-user/anaconda3/envs/amazonei_pytorch_latest_p36
amazonei_tensorflow2_p27 /home/ec2-user/anaconda3/envs/amazonei_tensorflow2_p27
amazonei_tensorflow2_p36 /home/ec2-user/anaconda3/envs/amazonei_tensorflow2_p36
amazonei_tensorflow_p27 /home/ec2-user/anaconda3/envs/amazonei_tensorflow_p27
amazonei_tensorflow_p36 /home/ec2-user/anaconda3/envs/amazonei_tensorflow_p36
chainer_p27 /home/ec2-user/anaconda3/envs/chainer_p27
chainer_p36 /home/ec2-user/anaconda3/envs/chainer_p36
mxnet_latest_p37 /home/ec2-user/anaconda3/envs/mxnet_latest_p37
mxnet_p27 /home/ec2-user/anaconda3/envs/mxnet_p27
mxnet_p36 /home/ec2-user/anaconda3/envs/mxnet_p36
python2 /home/ec2-user/anaconda3/envs/python2
python3 /home/ec2-user/anaconda3/envs/python3
pytorch_latest_p36 /home/ec2-user/anaconda3/envs/pytorch_latest_p36
pytorch_p27 /home/ec2-user/anaconda3/envs/pytorch_p27
pytorch_p36 /home/ec2-user/anaconda3/envs/pytorch_p36
tensorflow2_p36 /home/ec2-user/anaconda3/envs/tensorflow2_p36
tensorflow_p27 /home/ec2-user/anaconda3/envs/tensorflow_p27
tensorflow_p36 /home/ec2-user/anaconda3/envs/tensorflow_p36

And I’m choosing conda_amazonei_pytorch_latest_p36

  1. My other question is, where are the course notebooks? In my folder ‘fastbook’ there are only two .py files and a directory called ‘images’ which contains two images, one of a dog and one of a cat.
    I guess a subquestion to the above would be, how do I access the book that was written for this course as I understand it is injupyter notebook format?
    Did I pull the git repo incorrectly?

I’m not wondering if I should have used


from https://github.com/fastai/fastbook

Instead of https://github.com/fastai/course20.git
from: https://github.com/fastai/course20/tree/master/

Which one is the one for the latest class, the one that I think we’re calling course20?

Thanks very much for any help.
-akubird