alteryx / evalml

EvalML is an AutoML library written in python.
https://evalml.alteryx.com
BSD 3-Clause "New" or "Revised" License
757 stars 85 forks source link

problems when importing #4139

Open JoelUser opened 1 year ago

JoelUser commented 1 year ago

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 commented 1 year ago

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

!pip install nlp_primitives
maejain-deloitte commented 1 year ago

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 commented 10 months ago

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

!pip install nlp_primitives

Not working in kaggle