-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I try to install pysparse on ubuntu 16.04.1, numpy version 1.14.5,.
When "sudo pip install pysparse" I get this error:
pysparse/sparse/src/spmatrixmodule.c:4:22: fatal error: spmatrix.h: No such file or directory
compilation terminated.
error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DLENFUNC_OK=1 -DNO_ATLAS_INFO=1 -DHAVE_CBLAS -Ipysparse/sparse/src -I/tmp/pip-install-zB_RaU/pysparse/pysparse/include -I/usr/local/include -I/usr/include -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/tmp/pip-install-zB_RaU/pysparse/pysparse/include -I/usr/include/python2.7 -c pysparse/sparse/src/spmatrixmodule.c -o build/temp.linux-x86_64-2.7/pysparse/sparse/src/spmatrixmodule.o -MMD -MF build/temp.linux-x86_64-2.7/pysparse/sparse/src/spmatrixmodule.o.d" failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-zB_RaU/pysparse/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-record-pKOp5o/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-zB_RaU/pysparse/
When I try to build it with sudo python setup.py install or sudo python setup.py config_fc --fcompiler=gfortran build i get this:
error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE_VENDOR_BLAS=1 -DNO_ATLAS_INFO=1 -DHAVE_CBLAS -Ipysparse/direct/src -Ipysparse/direct/superlu/include -I/usr/local/include -I/usr/include -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/home/jayohh/topy/pysparse/pysparse/include -I/usr/include/python2.7 -c pysparse/direct/superlu/src/util.c -o build/temp.linux-x86_64-2.7/pysparse/direct/superlu/src/util.o -MMD -MF build/temp.linux-x86_64-2.7/pysparse/direct/superlu/src/util.o.d" failed with exit status 1
Hope you can help, I need it for a script called ToPy and i am not very in python.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels