Stuck on first jupyter notebook example: ModuleNotFoundError

Hi, I’m using paperspace + fast ai for setup.

I followed steps from Paperspace Gradient | Practical Deep Learning for Coders

after opening my jupyter notebook from paperspace, created selecting “Paperspace + fast.ai” runtime, using free GPU.

I open 01_intro.ipynb and the first code block

#hide

!pip install -Uqq fastbook

import fastbook

fastbook.setup_book()

returns following code block with bunch of errors

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-2b820b2b946f> in <module>
      1 #hide
      2 get_ipython().system('pip install -Uqq fastbook')
----> 3 import fastbook
      4 fastbook.setup_book()

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastbook/__init__.py in <module>
      1 __version__ = "0.0.18"
      2 import matplotlib as mpl, pkgutil, requests, time
----> 3 from fastai.vision.all import *
      4 from fastdownload import download_url
      5 from pandas.api.types import CategoricalDtype

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/vision/all.py in <module>
----> 1 from . import models
      2 from ..basics import *
      3 from ..callback.all import *
      4 from .augment import *
      5 from .core import *

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/vision/models/__init__.py in <module>
      1 from . import xresnet
----> 2 from . import unet
      3 from .tvm import *

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/vision/models/unet.py in <module>
      5 # Cell
      6 from ...torch_basics import *
----> 7 from ...callback.hook import *
      8 
      9 # Cell

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/callback/hook.py in <module>
      5 
      6 # Cell
----> 7 from ..basics import *
      8 
      9 # Cell

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/basics.py in <module>
----> 1 from .data.all import *
      2 from .optimizer import *
      3 from .callback.core import *
      4 from .learner import *
      5 from .metrics import *

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/data/all.py in <module>
      2 from .core import *
      3 from .load import *
----> 4 from .external import *
      5 from .transforms import *
      6 from .block import *

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastai/data/external.py in <module>
      5 # Cell
      6 from ..torch_basics import *
----> 7 from fastdownload import FastDownload
      8 from functools import lru_cache
      9 import fastai.data

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastdownload/__init__.py in <module>
      1 __version__ = "0.0.5"
      2 
----> 3 from fastdownload.core import *
      4 

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastdownload/core.py in <module>
      9 from fastcore.basics import *
     10 from fastcore.foundation import *
---> 11 from fastcore.net import *
     12 from fastcore.xtras import untar_dir
     13 import hashlib,shutil

ModuleNotFoundError: No module named 'fastcore.net'

any help would be appreciated. thank you

I am also getting the same error. But on Google colab it is running fine.

thanks for replying, seems to work fine on colab for me as well.
I will use this for time being.

I had same issue. I wonder if it’s because i can’t use the terminal on the free version to pull the most recent git repo?

In trying to run some other stuff too (the basic examples) I gave up after 10+ minutes of waiting.