Python Numpy loaded morethan1 DLL from .libs error solution

Python Numpy loaded morethan1 DLL from .libs error solution

foreword

When installing the Pytorch environment, I encountered two errors and recorded them.

error log

C:\Users txsimoson Anaconda3 envs env ovthon 37 lib site-packages numpyl distributor initpy:32: 
UserWarning; loaded morethan1 DLL from .libs:
C:\Uers txsimpson Anaconda3envs env python 3.7 lib site-packages numpyl. ibs libopenblas,YOHXLWVO7VESDPUVUADXEVJ0BGHIPAY.gfortran-win amd64.d11
C:\Users tximoson Anaconda3 envs env pvthon 3.7 lib site-packaees numov ,libs libopenblas,MCDJNK7WMPZ02ME277HJJRJ3JIKNDB7.efortran-win amd64.dll
stacklevel=1)

The core question is
UserWarning; loaded morethan1 DLL from .libs:

Solution 1

Repackage numpy_

pip uninstall numpy
pip install numpy
pip install --upgrade numpy

Solution 2

find Pythonthe pathLib\site-packages\numpy\.libs

If you find 2 or more libraries remove redundant libraries
delete redundant files

thank you

Numpy User Warning: Loaded more than 1 DLL

Guess you like

Origin blog.csdn.net/a71468293a/article/details/129810649