evalml icon indicating copy to clipboard operation
evalml copied to clipboard

problems when importing

Open JoelUser opened this issue 1 year ago • 3 comments

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

JoelUser avatar Apr 11 '23 20:04 JoelUser

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

!pip install nlp_primitives

gsheni avatar Apr 12 '23 14:04 gsheni

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.

maejain-deloitte avatar May 29 '23 13:05 maejain-deloitte

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

!pip install nlp_primitives

Not working in kaggle

gauravdutta-iiitb avatar Nov 05 '23 07:11 gauravdutta-iiitb