-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
The following error occurred when I ran python setup.py build_ext
/bin/sh: 1: nvcc: not found
make: *** [Makefile:49: fast_matched_filter/lib/matched_filter_GPU.so] Error 127
Could not build GPU code
I was able to install using pip install git+https://github.com/beridel/fast_matched_filter. However, when I run import fast_matched_filter as fmf, the following error occurs,
Matched-filter CPU is not compiled! Should be here: [/miniconda3/envs/my_env/lib/python3.10/site-packages/fast_matched_filter/lib/matched_filter_CPU.so]
Matched-filter GPU is not compiled! Should be here: [/miniconda3/envs/my_env/lib/python3.10/site-packages/fast_matched_filter/lib/matched_filter_GPU.so]
I think I've found the solution. ls ~/miniconda3/envs/my_env/lib/python3.10/site-packages/fast_matched_filter/ showed that there was not a lib directory there. Then, I ran make python_cpu, and mv the so library to the directory of my conda environment:
mv fast_matched_filter/lib ~/miniconda3/envs/my_env/lib/python3.10/site-packages/fast_matched_filter/lib
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels