In Windows installiert ist, habe ich eine Conda virtuelle Umgebung mit dem BefehlImport: DLL konnte nicht geladen werden beim Import Numpy in Conda virtuellen Umgebung
conda create -n test python=2.7 pandas scipy matplotlib numpy
Sobald es erstellt wird, habe ich die virtuelle Umgebung aktiviert und ging in eine Python Dolmetscher. Beim Versuch, numpy zu importieren, erhalte ich folgende Fehlermeldung:
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Anaconda3\envs\test\lib\site-packages\numpy\__init__.py", line 180, in <module>
from . import add_newdocs
File "C:\Anaconda3\envs\test\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "C:\Anaconda3\envs\test\lib\site-packages\numpy\lib\__init__.py", line 8,
in <module>
from .type_check import *
File "C:\Anaconda3\envs\test\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "C:\Anaconda3\envs\test\lib\site-packages\numpy\core\__init__.py", line 14, in <module>
from . import multiarray
ImportError: DLL load failed: The specified module could not be found.
Irgendwelche Ideen, was hier vor sich geht? Vielen Dank!
Ich habe Ihren Befehl ausgeführt, dann ein Ipython-Notizbuch geöffnet und konnte 'numpy' importieren. Das Eingeben von '% env' gibt mir (unter anderem):' 'CONDA_DEFAULT_ENV': 'C: \\ Benutzer \\ pd \\ Anaconda2 \\ envs \\ test''. Ich bin auf Windows 10, Anaconda 64 Bit. – roadrunner66
Was ist Ihre Anaconda-Version? Führen Sie 'conda info' aus. –
Was gibt 'conda list' in dieser Testumgebung an? – Paul