Seite 1 von 1

Numpy fehlt.... Anaconda-Fehler

Verfasst: Sonntag 27. März 2022, 01:16
von Martini_argv
Hallo liebe Leutz,

ich nutze anaconda-Python(bei der Installation auf win10 nicht zum Path hinzugefügt)
und habe eine virt.env geschaffen in welcher ich numpy installiert habe.

Nun habe ich ein kleines script erstellt (mit numpy Nutzung).

Wollte dieses script gerne durch doppelklicken einfach ausführen, was nicht geht.
Also versuche ich es über cmd.
  • starten der Anaconda-cmd-Prompt:
  • in die conda activate numtest (numtest ist der Name der Umgebung)
  • script ausführen .\nummern.py
und erhalte die Fehlermeldung:

Code: Alles auswählen

C:\Users\Martin\anaconda3\lib\site-packages\numpy\__init__.py:143: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File "C:\Users\Martin\anaconda3\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
    from . import multiarray
  File "C:\Users\Martin\anaconda3\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
    from . import overrides
  File "C:\Users\Martin\anaconda3\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: Das angegebene Modul wurde nicht gefunden.
Zudem erhalte ich:
Please note and check the following:

* The Python version is: Python3.9 from "C:\Users\User\anaconda3\python.exe"
* The NumPy version is: "1.20.3"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: DLL load failed while importing _multiarray_umath: Das angegebene Modul wurde nicht gefunden.

Dies entspricht nicht meiner numpy Version.
Irgendwie isr da was falsch verdrahtet...
Habe meine env mit Pfad schon zur Umgebungsvariablen zugefügt....ohne erfolg....
hat jemand eine Idee was ich machen kann?

Re: Numpy fehlt.... Anaconda-Fehler

Verfasst: Sonntag 27. März 2022, 08:57
von ThomasL
Ich vermute du bist auf die letzte Fehlermeldung fokussiert.
Wichtiger ist die erste:
C:\Users\Martin\anaconda3\lib\site-packages\numpy\__init__.py:143:
UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service