Summary
Installing FAISS for python (from source) on raspberry pi throws an error:
Makefile:22: recipe for target 'swigfaiss.o' failed
The above error is thrown after a long list of errors, the first of which is:
swigfaiss.cpp:3348:3: error: #error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"
I have also attached the complete log.txt.
Any help would be appreciated.
Platform
Raspberry Pi 3B+
OS: Raspbian
Running on:
Interface:
Reproduction instructions
- Configured FAISS by
./configure --without-cuda (configuration file successfully recognizes python)
- Compiled and installed using:
make -j4 & make install (Successfully compiles and installs)
- Try to install python wrapper using:
make -C python (throws error)
Summary
Installing FAISS for python (from source) on raspberry pi throws an error:
Makefile:22: recipe for target 'swigfaiss.o' failedThe above error is thrown after a long list of errors, the first of which is:
swigfaiss.cpp:3348:3: error: #error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"I have also attached the complete log.txt.
Any help would be appreciated.
Platform
Raspberry Pi 3B+
OS: Raspbian
Running on:
Interface:
Reproduction instructions
./configure --without-cuda(configuration file successfully recognizes python)make -j4 & make install(Successfully compiles and installs)make -C python(throws error)