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

Error installing Flair on Kaggle notebook #2053

Closed
harshpatel1014 opened this issue Jan 3, 2021 · 5 comments
Closed

Error installing Flair on Kaggle notebook #2053

harshpatel1014 opened this issue Jan 3, 2021 · 5 comments
Labels
question Further information is requested

Comments

@harshpatel1014
Copy link

I tried installing flair in Kaggle's notebook.
However, while installing flair some dependencies issues occur.

I cannot figure out which libraries are causing dependency issues.
Any idea how to install flair on the Kaggle environment.
Thank You

@harshpatel1014 harshpatel1014 added the question Further information is requested label Jan 3, 2021
@jackhanslope
Copy link

I was having a similar issue. I solved it by uninstalling the typing package:

pip uninstall --yes typing
pip install flair

@harshpatel1014
Copy link
Author

Thanks

@TechnoRahmon
Copy link

I was having a similar issue. I solved it by uninstalling the typing package:

pip uninstall --yes typing
pip install flair

this does not work with me

after installing flair,

I am trying to import it

import flair

and got error :

ModuleNotFoundError: No module named 'botocore.compress'

@helpmefindaname
Copy link
Collaborator

Hi @TechnoRahmon
as flair is never importing botocore.compress,
can you please post the full stack trace?
also, can you please post the versions of all libraries mentioned in the stack trace (e.g. pip show flair, ..., pip show botocore)?

@TechnoRahmon
Copy link

actually, I can see that this issue it only happened with me in Kaggle, I tried Colab it has not issues,
I found the fix finally, where I had to install a specific version of botocore=1.32.4 and upgrade boto3 aiobotocore

here is the command :

!pip install botocore==1.32.4
!pip install --upgrade boto3 aiobotocore
!pip install flair

this works fine with me and I used flair successfully :)

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

No branches or pull requests

4 participants