相关文章推荐
腼腆的柠檬  ·  python ...·  1 周前    · 
有情有义的大白菜  ·  python ...·  1 周前    · 
完美的馒头  ·  python QTreeWidget ...·  1 周前    · 
失眠的烤红薯  ·  python qt textBrowser ...·  6 天前    · 
活泼的番茄  ·  python tkinter ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

question about NumPy errors in Python libraries.(Numpy User Warning: Loaded more than 1 DLL)

Ask Question

This is a question related to numpy among the Python modules.

I am trying to run python using pycharm on two servers.

In the Windows server 2018 datacenter operating system, the following error appears, but it runs.

C:\Users\appuser\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:
C:\Users\appuser\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\.libs\libopenblas.EL2C6PLE4ZYW3ECEVIV3OXXGRN2NRFM2.gfortran-win_amd64.dll
C:\Users\appuser\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
   warnings.warn("loaded more than 1 DLL from .libs:"

However, in Windows server 2016 datacenter operating system, the above error occurs and it does not run.

What's the problem?

I tried deleting them one by one in anticipation of a problem that occurs when there are more than one file in that folder, but it doesn't work.

how about using a venv to create a vritual environment and separate the dependencies and not have two versions of the same library in the same venv ? that would be much better in the long run than trying to get this to work with the current messed up situation. – Ahmed AEK Mar 26 at 12:21 How did you get 2 .dlls there? What's the NumPy's version? What does "it doesn't work" mean? This should go away by reinstalling NumPy (cleaning any remaining .dll after uninstalling). Might want to check [SO]: Discover missing module using command-line ("DLL load failed" error) (@CristiFati's answer). – CristiFati Mar 26 at 20:53

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.