Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

A Warrning of Numpy loading: The NumPy module was reloaded (imported a second time)

Running result
Today, A UserWarning was occurred when I try to import the numpy package, that was not hanppend before.
I use miniconda to manage packages, here is my package list package list

it seems to be another numpy like packag so I reinstalled numpy,but that was not useful.
This was not happend before, I wander how Can I deal with this situation?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I suppose you didn’t uninstall your previous numpy, is there a pip version numpy and you didn’t uninstall it? After uninstall all of them you can then use pip to reinstall it.

I recommend you use pip to install package even you are using a conda environment.

Or you can just use conda to create a virtual environment to install numpy

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading