A Warrning of Numpy loading: The NumPy module was reloaded (imported a second time)
Question:
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?
Answers:
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
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?
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