- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page