[英]WINDOWS - Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly
Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly
无法为使用 PEP 517 且无法直接安装的瓶颈构建轮子
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. GitHub 线程无法解决 Windows的错误。
As the PyPy page suggests:正如PyPy 页面所暗示的:
To install bottleneck on Windows, first install MinGW and add it to your system path.
要在 Windows 上安装瓶颈,首先安装 MinGW 并将其添加到您的系统路径。 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
python setup.py install --compiler=mingw32或者,您可以使用由 Christoph Gohlke 创建的 Windows 二进制文件: http://www.lfd.uci/#botleneck~gohlke/gohlke/
Such wheel solves the issue.这样的轮子解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.