Open wreckdump opened 6 years ago
I am having problem installing pyclblas with the following error messages.
Collecting pyclblas Using cached pyclblas-0.8.5.tar.gz Installing collected packages: pyclblas Running setup.py install for pyclblas ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-u75stllk/pyclblas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-221wwvjq-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building '_pyclblas_swig' extension swigging src/pyclblas_swig.i to src/pyclblas_swig_wrap.c swig -python -o src/pyclblas_swig_wrap.c src/pyclblas_swig.i creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.6m -c src/pyclblas_swig_wrap.c -o build/temp.linux-x86_64-3.6/src/pyclblas_swig_wrap.o src/pyclblas_swig_wrap.c:3034:10: fatal error: clBLAS.h: No such file or directory #include <clBLAS.h> ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-u75stllk/pyclblas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-221wwvjq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-u75stllk/pyclblas/
Apparently, it can not find " clBLAS.h " header file. I do have clBLAS installed and working on my machine. Any idea what could be the problem?
Thank you.
On Ubuntu 18.04 I was able to resolve this by installing libclblas-dev.
libclblas-dev
sudo apt install libclblas-dev
I am having problem installing pyclblas with the following error messages.
Apparently, it can not find " clBLAS.h " header file. I do have clBLAS installed and working on my machine. Any idea what could be the problem?
Thank you.