WINDOWS - Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly

433 Views Asked by At

Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly

I post the answer to such error in case someone comes across it as I did.

The GitHub Thread does not solves the error for Windows.

1

There are 1 best solutions below

0
On BEST ANSWER

As the PyPy page suggests:

To install bottleneck on Windows, first install MinGW and add it to your system path. Then install Bottleneck with the command:

python setup.py install --compiler=mingw32 Alternatively, you can use the Windows binaries created by Christoph Gohlke: http://www.lfd.uci.edu/~gohlke/pythonlibs/#bottleneck

Such wheel solves the issue.