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

problems when importing #4139

Open
JoelUser opened this issue Apr 11, 2023 · 3 comments
Open

problems when importing #4139

JoelUser opened this issue Apr 11, 2023 · 3 comments

Comments

@JoelUser
Copy link

Greetings friends.
I am executing a project in colab, but when importing I get the following error:
ImportError: cannot import name 'DiversityScore' from 'featuretools.primitives' (/usr/local/lib/python3.9/dist-packages/featuretools/primitives/__init__.py)

I'm new to using the library, I really don't know why I have this error, I would like someone to explain to me how I can solve it. Thank you

@gsheni
Copy link
Contributor

gsheni commented Apr 12, 2023

@JoelUser Can you make sure nlp_primitives is installed? In Colab you can run the following:

!pip install nlp_primitives

@maejain-deloitte
Copy link

I get this same issue, it doesn't resolve when I run: !pip install nlp_primitives

ImportError: cannot import name 'DiversityScore' from 'featuretools.primitives', additionally it can't import PolarityScore

This is in Ubuntu, python 3.8.10.

@gauravdutta-iiitb
Copy link

@JoelUser Can you make sure nlp_primitives is installed? In Colab you can run the following:

!pip install nlp_primitives

Not working in kaggle

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

4 participants