-
Notifications
You must be signed in to change notification settings - Fork 99
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 #348
Comments
Could you please provide exact versions of each of those dependencies, as well as the operating system? |
@qwhelan I had this same issue: Here are some dependencies and the virtual env I see the error in:-Ubuntu 18.04.4 LTS
This seems to be working with python 3.7.3 ( I had a mac system working and when I checked the python version it had 3.7.3). On the same Ubuntu system as above when I downgraded to python 3.7.3 The error no longer showed up. I thought I will post here in case it can help to find out the root cause. Also tried with python 3.8.3 and had the error. |
@ArasAzimi Thank you, I will attempt to reproduce locally. |
You might not find this useful, but we've noted the same failures on Python3.6 builds (on Travis CI) of the master branch of Bottleneck for the project Feel free to check out the build statuses on that PR; they seem to be exactly as @AlysonR describes. |
I believe I have found the source of the error, at least in my configuration. It is due to the specific of virtual environment creation with When creating a virtual environment with The include folders needed by bottleneck are still accessible, but their path has to be constructed relative to bottleneck/bottleneck/src/bn_config.py Line 30 in f2bc792
to for prefix in [sys.prefix, sys.exec_prefix, sys.base_prefix]: fixes the problem. Of course, I have EDIT: I have python 3.7.9. |
This is really a weird issue. It happens in my local machine, and happens again in my poetry virtual machine... (BTW they have different python versions) |
On macOS Big Sur 11.2.3 I get the following error running pip install: $ pip install Bottleneck==1.3.2
|
Is there any update regarding this issue? So far I've tried the following but none worked:
|
After many re-installs, running: |
Running on a VM via kubernetes with
fails to Install, even after the
approach suggested above. The final bit of the crash:
|
On Windows, I finally realised that I needed a background tool to build the Wheel, that is not installed by default (and the message doen't hint at). I installed Visual Studio Build tools, and it all worked. |
Hi! Installing gcc solved the problem for me (Ubuntu 20.04):
|
Has anyone been able to get this to work on mac? Trying to install with Python 3.9 in the Blender installation. |
I came across this issue while searching for a similar issue installing
@jweisbaum I was able to get past the problem on my mac with |
I get the errors
ERROR: Failed building wheel
ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly
I have python-devel installed, my wheel is updated to the current version, pip is updated to the current version, pep517 is installed
I saw this was an issue before that was closed after a false answer was given that was never proven to work (installing developers tools). I will not use conda or anaconda so please do not suggest that I install those to solve this problem.
The text was updated successfully, but these errors were encountered: