JasonKessler / Scattertext-PyData

Notebooks for the Seattle PyData 2017 talk on Scattertext
141 stars 52 forks source link

Cannot import scattertext #4

Open KatherineKing opened 1 year ago

KatherineKing commented 1 year ago

I am trying to import scattertext on AWS SageMaker with a conda_python3 kernel. I downgraded numpy to 1.20.3 and installed a certain daal version based on the error messages. !pip install --upgrade numpy==1.20.3 !pip install daal==2021.2.3

Now I get the error message "ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject"

This still seems like a numpy package collision. Is there a Requirements.txt for scattertext?

JasonKessler commented 1 year ago

The requirements are in setup.py. I really can't help with this specific question suggest you install Scattertext in a different environment.

On Fri, Jan 6, 2023 at 5:37 AM Katherine E. King @.***> wrote:

I am trying to import scattertext on AWS SageMaker with a conda_python3 kernel. I downgraded numpy to 1.20.3 and installed a certain daal version based on the error messages. !pip install --upgrade numpy==1.20.3 !pip install daal==2021.2.3

Now I get the error message "ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject"

This still seems like a numpy package collision. Is there a Requirements.txt for scattertext?

— Reply to this email directly, view it on GitHub https://github.com/JasonKessler/Scattertext-PyData/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACMMXB5CCDPDK2CF6IAX2DWRANX3ANCNFSM6AAAAAATTC2ZBI . You are receiving this because you are subscribed to this thread.Message ID: @.***>