Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
423 Discussions

Message=DLL load failed: on import DAAL4py

mcdonald__shawn
Beginner
1,007 Views

How can I create an environment that will not result in this error.  Here is my current attempt.

# packages in environment at D:\Anaconda3\envs\fdbk-env:
#
# Name                    Version                   Build  Channel
asn1crypto                0.24.0                   py37_3    intel
bzip2                     1.0.8                    vc14_0  [vc14]  intel
certifi                   2019.9.11                py37_0    intel
cffi                      1.12.3                   py37_2    intel
chardet                   3.0.4                    py37_3    intel
conda-package-handling    1.4.0                    py37_0    intel
cryptography              2.7                      py37_0    intel
cycler                    0.10.0                   py37_7    intel
cython                    0.29.13          py37ha68da19_0    intel
daal                      2020.1                intel_216    intel
daal4py                   2020.0           py37ha68da19_5    intel
freetype                  2.10.1                        1    intel
funcsigs                  1.0.2                    py37_7    intel
icc_rt                    2020.1                intel_216    intel
idna                      2.6                      py37_3    intel
impi_rt                   2019.7                intel_216    intel
intel-openmp              2020.1                intel_216    intel
intelpython               2020.0                        1    intel
intelpython3_core         2020.0                        0    intel
intelpython3_full         2020.0                        0    intel
joblib                    0.13.2                   py37_1    intel
kiwisolver                1.0.1                    py37_2    intel
libarchive                3.4.0                h2fa13f4_0    intel
libiconv                  1.15                 hfa6e2cd_0    intel
libpng                    1.6.36                        2    intel
libxml2                   2.9.9                hfa6e2cd_0    intel
llvmlite                  0.29.0                   py37_9    intel
lz4-c                     1.8.1.2              h2fa13f4_0    intel
lzo                       2.10                 hfa6e2cd_0    intel
matplotlib                3.1.1                    py37_3    intel
menuinst                  1.4.16                   py37_0    intel
mkl                       2020.1                intel_216    intel
mkl-service               2.3.0                    py37_0    intel
mkl_fft                   1.0.15           py37ha68da19_3    intel
mkl_random                1.1.0            py37ha68da19_0    intel
mpi4py                    3.0.0                    py37_6    intel
numba                     0.45.1              np117py37_6    intel
numexpr                   2.7.0                    py37_1    intel
numpy                     1.17.4           py37ha68da19_4    intel
numpy-base                1.17.4                   py37_4    intel
openssl                   1.1.1d                   vc14_0  [vc14]  intel
pandas                    0.25.1                   py37_3    intel
pip                       19.1.1                   py37_0    intel
pycosat                   0.6.3                    py37_3    intel
pycparser                 2.18                     py37_2    intel
pyodbc                    4.0.30                   pypi_0    pypi
pyopenssl                 17.5.0                   py37_2    intel
pyparsing                 2.2.0                    py37_2    intel
pysocks                   1.6.7                    py37_1    intel
python                    3.7.4                h21ff451_3    intel
python-dateutil           2.8.0                    py37_0    intel
python-libarchive-c       2.8                     py37_13    intel
pytz                      2019.1                   py37_0    intel
pywin32                   224             py37hfa6e2cd_1002    intel
pyyaml                    5.1.1                    py37_0    intel
requests                  2.20.1                   py37_1    intel
ruamel_yaml               0.15.64                  py37_1    intel
scikit-learn              0.21.3          py37ha68da19_15    intel
scipy                     1.3.2            py37ha68da19_0    intel
setuptools                41.0.1                   py37_0    intel
six                       1.12.0                   py37_0    intel
sqlite                    3.29.0                   vc14_0  [vc14]  intel
tbb                       2020.2           vc14_intel_216  [vc14]  intel
tbb4py                    2020.2             py37_intel_0  [vc14]  intel
tcl                       8.6.4                   vc14_24  [vc14]  intel
tk                        8.6.4                   vc14_29  [vc14]  intel
tqdm                      4.32.1                   py37_0    intel
urllib3                   1.24.1                   py37_2    intel
vc                        14.0                          2    intel
vs2015_runtime            14.0.25420              intel_3    intel
wheel                     0.31.0                   py37_3    intel
win_inet_pton             1.0.1                    py37_4    intel
wincertstore              0.2                      py37_3    intel
xz                        5.2.4                h2fa13f4_7    intel
yaml                      0.1.7                         2    intel
zlib                      1.2.11           vc14hfa6e2cd_7  [vc14]  intel
zstd                      1.4.0                he025d50_0    intel

 

Here is conda info:

     active environment : fdbk-env
    active env location : D:\Anaconda3\envs\fdbk-env
            shell level : 1
       user config file : C:\Users\ShawnDMcDonald\.condarc
 populated config files : C:\Users\ShawnDMcDonald\.condarc
          conda version : 4.8.2
    conda-build version : 3.18.11
         python version : 3.7.6.final.0
       virtual packages : __cuda=10.2
       base environment : D:\Anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/intel/win-64
                          https://conda.anaconda.org/intel/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : D:\Anaconda3\pkgs
                          C:\Users\ShawnDMcDonald\.conda\pkgs
                          C:\Users\ShawnDMcDonald\AppData\Local\conda\conda\pkgs
       envs directories : D:\Anaconda3\envs
                          C:\Users\ShawnDMcDonald\.conda\envs
                          C:\Users\ShawnDMcDonald\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Windows/10 Windows/10.0.18362
          administrator : True
             netrc file : None
           offline mode : False

 

 

0 Kudos
3 Replies
ArunJ_Intel
Moderator
1,007 Views

Hi Shawn,

The issue is because you have different versions of daal and daal4py. Could you please install latest versions of daal and daal4py to resolve this issue. You could run the below command for installation

conda install daal4py==2021.1b4
conda install daal==2021.1b4

Hope this helps. 

Thanks 
Arun Jose

0 Kudos
ArunJ_Intel
Moderator
1,007 Views

Hey Shawn,

Have you tried out the steps provided. Do they resolve your issue.

 

Arun Jose

0 Kudos
ArunJ_Intel
Moderator
1,007 Views

HI Shawn,

 

We are closing this case assuming the solution provided helps. Please feel free to raise a new thread in case of further issues.

 

Arun Jose 

0 Kudos
Reply