-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I installed nlptoolkit package through pip. But the following line is repeatedly giving me an error.
from nlptoolkit.utils.config import Config
I tried upgrading pandas, tqdm as these are shown as some possible fixes here. But, I still was not able to resolve the error. Please provide some guidelines to get through this error.**
_ImportError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tqdm/_tqdm.py in pandas(tclass, *targs, **tkwargs)
ImportError: cannot import name 'DataFrameGroupBy'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
5 frames
<ipython-input-14-3c9cb5b4622f> in <module>()
1 # try:
----> 2 from nlptoolkit.utils.config import Config
3 # except Exception as e:
4 # print(e)
5 try:
/usr/local/lib/python3.6/dist-packages/nlptoolkit/__init__.py in <module>()
1 from . import ASR
----> 2 from . import classification
3 from . import clustering
4 from . import generation
5 from . import ner
/usr/local/lib/python3.6/dist-packages/nlptoolkit/classification/__init__.py in <module>()
----> 1 from . import models
/usr/local/lib/python3.6/dist-packages/nlptoolkit/classification/models/__init__.py in <module>()
6 from . import XLMRoBERTa
7 from . import GIN
----> 8 from . import infer
/usr/local/lib/python3.6/dist-packages/nlptoolkit/classification/models/infer.py in <module>()
12 import logging
13
---> 14 tqdm.pandas(desc="prog-bar")
15 logging.basicConfig(format='%(asctime)s [%(levelname)s]: %(message)s', \
16 datefmt='%m/%d/%Y %I:%M:%S %p', level=logging.INFO)
/usr/local/lib/python3.6/dist-packages/tqdm/_tqdm.py in pandas(tclass, *targs, **tkwargs)
ImportError: cannot import name 'PanelGroupBy'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below._
Metadata
Metadata
Assignees
Labels
No labels