python - Building Healpy library - can not find cfitsio library -
i trying build python library healpy. first seek utilize pip. after typing:
>pip install --user healpy
i got result:
>checking if library 'cfitsio' installed >error: no such file or directory
after tried build library on own - downloded sources , builded cfitsio using commands:
>/.configure >make >make install
after doing got libcfitsio.a
file, pkg-config
folder .pc file , .h files in include folder. after typing:
> python setup.py install
i got same error. got same error after building lib in windows. did have similar problem ? greateful suggestions.
as mentioned in healpy install documentation must specify pkg_config_path
environment variable if want utilize external cfitsio or healpix modules:
pkg_config_path=/path/to/local/lib/pkgconfig
note: adapt own path obtain cfitsio compilation process!
then shall able run compilation of healpy...
python healpy
No comments:
Post a Comment