-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
Hi,
I'm attempting to install ANN-SoLo in a new conda environment. When I run pip install, I get the following error
Building wheels for collected packages: ann-solo
Building wheel for ann-solo (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/plot_ssm.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/spectrum.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/reader.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/utils.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/__init__.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/config.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/writer.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/spectral_library.py -> build/lib.linux-x86_64-3.9/ann_solo
copying ann_solo/ann_solo.py -> build/lib.linux-x86_64-3.9/ann_solo
running build_ext
Compiling ann_solo/spectrum_match.pyx because it changed.
[1/1] Cythonizing ann_solo/spectrum_match.pyx
warning: ann_solo/spectrum_match.pyx:17:58: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'no except' will be disallowed in a future version of Cython.
warning: ann_solo/spectrum_match.pyx:23:40: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'no except' will be disallowed in a future version of Cython.
building 'ann_solo.spectrum_match' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/ann_solo
gcc -pthread -B /home/colin/miniconda3/envs/ann_solo_39/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /h ome/colin/miniconda3/envs/ann_solo_39/include -fPIC -O2 -isystem /home/colin/miniconda3/envs/ann_solo_39/include -fPIC -I/home/colin/miniconda3/envs/ann_solo_39 /lib/python3.9/site-packages/numpy/core/include -I/home/colin/miniconda3/envs/ann_solo_39/include/python3.9 -c SpectrumMatch.cpp -o build/temp.linux-x86_64-3.9/ SpectrumMatch.o -O3 -march=native -ffast-math -fno-associative-math -std=c++14
gcc: error: SpectrumMatch.cpp: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ann-solo
Running setup.py clean for ann-solo
Failed to build ann-solo
ERROR: Could not build wheels for ann-solo, which is required to install pyproject.toml-based projects
Any help appreciated,
Colin