ModuleNotFoundError: No module named ‘isoweek’

I have cloned the git repository today getting following error:

ModuleNotFoundError Traceback (most recent call last)
in ()
1 # This file contains all the main external libs we’ll use
----> 2 from fastai.imports import *

~/Jupyter/DEEPLEARNINGCLASS/fastai/courses/dl1/fastai/imports.py in ()
9 from functools import partial
10 from collections import Iterable, Counter, OrderedDict
—> 11 from isoweek import Week
12 from pandas_summary import DataFrameSummary
13 from IPython.lib.display import FileLink

ModuleNotFoundError: No module named ‘isoweek’

1 Like

You need to install it using pip

Thanks I missed the dependencies pip.

  • pip:
    • opencv-python
    • isoweek
    • pandas_summary
    • torchtext
    • graphviz
    • sklearn_pandas
    • feather-format
    • jupyter_contrib_nbextensions
    • plotnine
    • docrepr
    • awscli
    • kaggle-cli
    • git+https://github.com/SauceCat/PDPbox.git
6 Likes

Found this discussion thread while getting lesson1.ipynb running.
Thanks for the list of packages needing installing.

I hit this error.
ImportError:dlopen:cannot load any more object with static TLS

Dug around multiple github issues, pytorch forum & stackexchange threads, no clean solutions.

documented my working in this blog > https://medium.com/@GuruAtWork/fast-ai-lesson-1-7fc38e978d37

in short, do this import before all other imports.

import torch, cv2

hope this helps a future someone. :slight_smile:

Does anyone still have this issue?
importing cv2 didn’t help :confused:

I got this issue
No module named ‘cv2’

Tried
pip install opencv-contrib-python
And nothing yet