Error importing from fastai.text

I am getting ModuleNotFoundError: No module named 'bcolz'error while importing from fastai.text import *

I made sure to do git pull and conda env update all before running the notebook. But seems the environment is not synced somehow.

What am I missing?

Nevermind. Resolved this issue. I forgot to activate the environment by source activate fastai

2 Likes

Iā€™ve done that so many timesā€¦

1 Like

Hi, IĀ“m a beginner in fastai, and IĀ“m getting this error: ModuleNotFoundError: No module named ā€˜fastai.textā€™.
I just tried ā€œgit pullā€ in fastai folder ,ā€œconda env updateā€ and ā€œsource activate fastaiā€.
Other commands like from "fastai.imports import * " and "from fastai.transforms import * " work fine.
Can anybody help? Thanks

Are you sure you have a simlink to the fastai library in your folder?

Thanks for the reply.
IĀ“m a beginner and just finished the DL part 1. Never had any problem with the imports.
I keep all my notebooks in courses/dl1 folder.
But IĀ“m going to start part2 and I donĀ“t know how if there is any environment preparation or soā€¦
I did ā€œgit pullā€ inside fastai dir, but folder dl2 with all the notebooks and related data are not being downloaded.
Anyway,
I donĀ“t know how to do a simlink to the fastai library in your folder!
Do you mind helping me with a step-by-step?
Many thanks.

Maybe youā€™ve got the old 2017 repo?