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

Problem in installing the package #9

Open
SivaAndMe opened this issue Sep 3, 2020 · 1 comment
Open

Problem in installing the package #9

SivaAndMe opened this issue Sep 3, 2020 · 1 comment

Comments

@SivaAndMe
Copy link

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._



@casperdcl
Copy link

casperdcl commented Jul 13, 2021

use a recent tqdm. You probably want tqdm>=4.61.2 at

tqdm==4.32.1

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

2 participants