Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Last answered:

11 Jul 2024

Posted on:

11 Jul 2024

0

Resolved: importing scipy

i am getting an error importing scipy.stats, and chi2_contingency

4 answers ( 1 marked as helpful)
Instructor
Posted on:

11 Jul 2024

0

Hi Doaa!

Thanks for reaching out!

Please try updating the relevant packages:

pip install --upgrade scipy numpy

and executing the cells in a new, clean notebook.

Best,

Ivan

Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

11 Jul 2024

0

it didn't work, I also tried other online solutions like installing numpy version 1.20.0, but nothing seems to be working

Instructor
Posted on:

11 Jul 2024

1

Hi Doaa!

If updating the packages doesn't work, you can try creating a new virtual environment to ensure there are no conflicting dependencies.

Best,

Ivan

Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

11 Jul 2024

0

I really have no Idea how these things work, however I installed a new version of numexpr = 2.7.3 

and now everything works fine 

Submit an answer