Menu

#14 `pip install pysparse` fails with "fatal error: 'spmatrix.h' file not found"

v1.0 (example)
open
nobody
None
5
2018-08-26
2018-08-26
No

As reported at https://github.com/usnistgov/fipy/issues/435:

The PySparse tarball downloaded by pip install is broken such that

gcc: pysparse/sparse/src/spmatrixmodule.c
pysparse/sparse/src/spmatrixmodule.c:4:10: fatal error: 'spmatrix.h' file not found
#include "spmatrix.h"
         ^
1 error generated.
pysparse/sparse/src/spmatrixmodule.c:4:10: fatal error: 'spmatrix.h' file not found
#include "spmatrix.h"
         ^

Note that

pip install -e git+http://git.code.sf.net/p/pysparse/git#egg=PySparse

works.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.