- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Closed
Description
Errors out when trying to build.
#8 244.9 Successfully built numpy
#8 244.9 Failed to build faiss-cpu
#8 245.2 Installing collected packages: numpy, biopython, typing-extensions, sniffio, anyio, starlette, pydantic, fastapi, faiss-cpu, zipp, importlib-metadata, click, asgiref, h11, uvicorn, torch, regex, filelock, joblib, tqdm, sacremoses, pyyaml, pyparsing, packaging, huggingface-hub, tokenizers, transformers, typer, python-dotenv, xmltodict, loguru, semantic-search
#8 247.0   Running setup.py install for faiss-cpu: started
#8 247.1     Running setup.py install for faiss-cpu: finished with status 'error'
#8 247.1     Complete output from command /opt/conda/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-sm9zovsk/faiss-cpu/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-up4_y5qq/install-record.txt --single-version-externally-managed --compile:
#8 247.1     running install
#8 247.1     /tmp/pip-build-env-ps49aiea/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#8 247.1       setuptools.SetuptoolsDeprecationWarning,
#8 247.1     running build
#8 247.1     running build_py
#8 247.1     running build_ext
#8 247.1     building 'faiss._swigfaiss' extension
#8 247.1     swigging faiss/faiss/python/swigfaiss.i to faiss/faiss/python/swigfaiss_wrap.cpp
#8 247.1     swig -python -c++ -Doverride= -I/usr/local/include -Ifaiss -DSWIGWORDSIZE64 -o faiss/faiss/python/swigfaiss_wrap.cpp faiss/faiss/python/swigfaiss.i
#8 247.1     unable to execute 'swig': No such file or directory
#8 247.1     error: command 'swig' failed with exit status 1
#8 247.1     
#8 247.1     ----------------------------------------
@JohnGiorgi any ideas?
Metadata
Metadata
Assignees
Labels
No labels