Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
26 Views

Problem installing DAAL-Python

Hardware: Xeon Phi

OS: CentOS

From DAAL home:

sudo python setup.py install
Traceback (most recent call last):
  File "setup.py", line 34, in <module>
    daal_root=os.environ['DAALROOT']
  File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'DAALROOT'

 

0 Kudos
2 Replies
Highlighted
Employee
26 Views

Hi David,

You get this error message because you didn't source the path of env variable "DAALROOT", please use following command first:

source /opt/intel/compilers_and_libraries_<version>/linux/daal/bin/daalvars.sh <ia32|intel64>

and then, use python ./setup.py --help-command to know how to write command to install; Or you could use Intel distribution for python to install DAAL by following this article "How to Install the Python* Version of Intel® DAAL in Linux*". Thanks.

Best regards,
Fiona

0 Kudos
Highlighted
Beginner
26 Views

Hey David

Considering you have given the path of environment variable "daalvars.sh", try installing setup.py after changing yourself to root. Hope it would work!

0 Kudos