-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly' #281
Comments
QUICK UPDATE I took some time to research the internet about: |
Could you provide the Thanks for reporting! |
On further investigation, I found this pypa/pip#6256 which suggests the issue is that wheels simply aren't supported with PEP 517 builds. My best guess would be to |
pip 19.2.3 from /home/filholf/anaconda3/lib/python3.7/site-packages/pip (python 3.7) I'm assuming that my OS is not helping as well, I'm using Suse 12 SP4, my other server is an Ubuntu 16.04lts and everything worked fine... |
I tried the upgrade, but stills returning the wheel problem. I'm totally able to install it at base. But as a quick update, I solved installing Anaconda instead of miniconda, but not sure about the relation of both or even what was the problem with miniconda. Could it be a repair when I uninstalled/installed. |
Hmm, there really shouldn't be a difference between equivalent versions of Miniconda/Anaconda. Good to hear it's resolved and apologies for not having a clear answer here. Please feel free to re-open if it re-surfaces. |
I'm receiving a same error and using python:3.6-slim docker image, I fixed it by installing gcc inside the container. |
Another way to resolve this is to download Windows SDK 10 (latest version). If this alone doesn't work then download Visual Studio 2019 (again whichever is the latest version). This updates the wheel process. |
harshikanu's suggestion worked for me. I'd like to expand on it a little bit
and that should successfully update wheel and allow you to install bottleneck |
@StormFalcon32 Do you happen to know the version of the Windows SDK you were on pre-upgrade? And pip and python as well? |
Oh man I don't remember what version of Windows sdk but I was on Python 3.7.6 and I think 20.0.2 on pip |
Thanks for checking - was mostly wondering if this was connected to the Python 3.8 issue some Arch users had reported (and should be fixed by 1.3.2 that I released a few minutes ago) |
I installed Build Tools for Visual Studio 2019, updated wheels, and I still have the error when installing Bottleneck-1.3.2.: python 3.5.5 |
@bayesfactor I think you need to have the latest version of python installed. |
I am getting the same error with Bottleneck 1.3.2 on a Linux machine with Python 3.6.3, and the newest versions of pip and setuptools... It works fine with 1.3.1... Any ideas? |
@rhandberg I had the same issue on CentOS. My output contained the following error: |
same error using ubuntu:18.04 with minconda and python==3.7; fixed by installing build-essential. |
I got the same issue when I execute: I solved the problem with: OS: Ubuntu 18.04 LTS |
If still having issue, can try below steps. It worked for windows |
I'm having the same issue. I have also installed Build Tools for Visual Studio 2019. |
I am using python version - 3.6.0 Failed building wheel for bottleneck |
Hi, |
I couldn't get |
i got the same error; ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly and how to solve the error? |
Same error in |
Downgrading the pip version sorted the issue for me : pip install pip==18.1 |
for windows I installed c++ complier solved this problem |
For alpine linux i fixed with: check it with apt or etc in your linux distribution |
Use |
For alpine I needed |
I have the same issue when running Error message: I am using Windows 10 Home 1909, Python 3.8, pipenv 2018.11.26, and VScode 1.52.1 |
I was having the same problem for Mac: ERROR: Failed building wheel for pycairo first: brew install cairo pkg-config |
Same here, in a dockerfile from python:3.7-slim-buster Edit: On a linux server (as opposed to the docker image above) i also had to install python3.6-dev |
Hoy vienes 26 de marzo del 2021 |
1 similar comment
how to install gcc inside the container? |
I ran into this same error and resolved it by doing either one of the following two ways:
|
this worked for me too |
Hi All, having troubles installing fancyImpute ??? Open the atched file : (https://github.com/pydata/bottleneck/files/6956991/requirements.txt) Install each dependency in the txt file separately: Since, i have noticed the cvxpy gives the error when installing: ERROR: Failed building wheel for scs Then: use the following command to install it: conda install -c conda-forge cvxpy finally then 👍 pip install fancyimpute |
I had the same problem with coincurve, and the solution was unbelievably easy! I simply installed the lowest version that meets my needs. And it worked! The latest version was 15.0.1 and I installed version 4.4.0 without any error. |
This solution worked. Thank you. I took advantage of and installed some packages for my visual studio code and also some tools to compile Cmakes. |
Hi, I'm installing Bottleneck by fastai lib in a Suse 12 sp4 server, but had the error when building wheels for it.
It says that uses PEP517 and cannot be installed directly. Funny thing is that I had it installed on my (base) but when I move to my app env it just jams on the error.
There is a way to solve it? Thanks in advance!
The text was updated successfully, but these errors were encountered: