Skip to content

Instantly share code, notes, and snippets.

@manisnesan
Created November 10, 2020 18:00
Show Gist options
  • Save manisnesan/4d66ca073f5fa57941731643f9d7decf to your computer and use it in GitHub Desktop.
Save manisnesan/4d66ca073f5fa57941731643f9d7decf to your computer and use it in GitHub Desktop.
pyyaml import error
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-313c6378870c> in <module>
----> 1 from fastai.basics.all import *
~/SageMaker/.env/fastai/lib/python3.6/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 *
~/SageMaker/.env/fastai/lib/python3.6/site-packages/fastai/data/all.py in <module>
----> 1 from ..torch_basics import *
2 from .core import *
3 from .load import *
4 from .external import *
5 from .transforms import *
~/SageMaker/.env/fastai/lib/python3.6/site-packages/fastai/torch_basics.py in <module>
7 os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
8
----> 9 from .imports import *
10 from .torch_imports import *
11 from .torch_core import *
~/SageMaker/.env/fastai/lib/python3.6/site-packages/fastai/imports.py in <module>
23
24 # External modules
---> 25 import requests,yaml,matplotlib.pyplot as plt,pandas as pd,scipy
26 from pandas.api.types import is_categorical_dtype,is_numeric_dtype
27 from numpy import array,ndarray
ModuleNotFoundError: No module named 'yaml'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment