Skip to content Skip to sidebar Skip to footer

Failed Building Wheel For Bottleneck Error

So I am trying to install bottleneck (by doing pip install bottleneck) in comand promt and I keep getting the error: ERROR: Command errored out with exit status 1: command:

Solution 1:

I got it to work by installing the bottleneck manually with the respective wheel from this site: www.lfd.uci.edu/~gohlke/pythonlibs/.

Simply download the file for your Python version (in my case Bottleneck‑1.3.2‑cp38‑cp38‑win_amd64.whl) and install it:

pip install C:\Users\...

Solution 2:

All you need to do at first install PyPI then pyinstaller

pip install PyPI
pip install pyinstaller

PyPI installation screen capture

enter image description here


Solution 3:

I also faced the same problem trying to install pycaret on a Windows machine. Got the error

ERROR: Failed building wheel for bottleneck
Failed to build bottleneck
ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly

Reading the output it seams that the installation process was unable to install bottleneck, so you have to do that manually. Pip failed doing that, so because I was using Anaconda env the conda install is the way to go. Also installing p5py and pep517 is a good idea.

I could resolve the problem with the following steps:

  1. conda install bottleneck
  2. pip install p5py
  3. pip install pep517
  4. pip install pycaret

Post a Comment for "Failed Building Wheel For Bottleneck Error"