Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'master_bar' from 'fastprogress' #67

Open
hferdinando opened this issue Jun 10, 2020 · 0 comments
Open

cannot import name 'master_bar' from 'fastprogress' #67

hferdinando opened this issue Jun 10, 2020 · 0 comments

Comments

@hferdinando
Copy link

I used spyder and jupyter notebook from Anaconda 64-bit and recently I installed fastai 1.0.34 in a virtual environment using

conda install -v -v fastai fastai.

The system checked all dependencies and asked if I want to proceed with fastai 1.0.34. I agreed and the process continued. I could see my installed package in that environment. To verify that my installation was correct, I ran

from fastai import *

I got the following error. What should I do?

ImportError Traceback (most recent call last)
in
----> 1 from fastai import *

~\Anaconda3\envs\fastai_env\lib\site-packages\fastai_init_.py in
----> 1 from .basic_train import *
2 from .callback import *
3 #from .callbacks import *
4 from .core import *
5 from .basic_data import *

~\Anaconda3\envs\fastai_env\lib\site-packages\fastai\basic_train.py in
1 "Provides basic training and validation with Learner"
----> 2 from .torch_core import *
3 from .basic_data import *
4 from .callback import *
5

~\Anaconda3\envs\fastai_env\lib\site-packages\fastai\torch_core.py in
1 "Utility functions to help deal with tensors"
----> 2 from .imports.torch import *
3 from .core import *
4
5 AffineMatrix = Tensor

~\Anaconda3\envs\fastai_env\lib\site-packages\fastai\imports_init_.py in
----> 1 from .core import *
2 from .torch import *

~\Anaconda3\envs\fastai_env\lib\site-packages\fastai\imports\core.py in
13 from dataclasses import dataclass, field
14 from enum import Enum, IntEnum
---> 15 from fastprogress import master_bar, progress_bar
16 from functools import partial, reduce, singledispatch
17 from pdb import set_trace

ImportError: cannot import name 'master_bar' from 'fastprogress' (C:\Users\hferdina\Anaconda3\envs\fastai_env\lib\site-packages\fastprogress_init_.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant