kyamagu / faiss-wheels

Unofficial faiss wheel builder
MIT License
275 stars 35 forks source link

AttributeError: 'MSVCCompiler' object has no attribute 'compiler' when trying to install faiss-cpu on Windows 11 and Python 3.8.10 #69

Closed Hevia closed 4 months ago

Hevia commented 1 year ago

Describe the bug When running Windows 11 and Python 3.8.10 attempting to install the latest version of faiss-cpu I get AttributeError: 'MSVCCompiler' object has no attribute 'compiler'

To Reproduce

pip install faiss-cpu

Expected behavior faiss-cpu should be installed just fine.

Desktop (please complete the following information):

Additional context I can resolve the problem by installing a previous version

pip install faiss-cpu==1.7.2  

so it is not a blocker. I think I noticed on my other machine with Python 3.7 that faiss-cpu installed just fine without changing the version. I dont have it on hand to add any other details.

kyamagu commented 1 year ago

Can you post a complete log? Not sure if this is from a source package or a binary wheel.