Par*_*val 1 python python-wheel fasttext
我正在尝试在 python 3.11.4 中fasttext使用安装pip install fasttext,但在构建轮子时遇到了麻烦。错误如下:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fasttext
Running setup.py clean for fasttext
Failed to build fasttext
ERROR: Could not build wheels for fasttext, which is required to install pyproject.toml-based projects
Run Code Online (Sandbox Code Playgroud)
我在网上搜索过,大多数点击表明该错误与 Visual Studio 的构建工具有关(上面的错误也表明了这一点)。我已经安装/更新了所有构建工具,并且还按照此处的建议安装了最新的 SDK ,但错误仍然存在。
以前有人解决过这个问题吗?可以分享任何潜在的解决方案吗?
| 归档时间: |
|
| 查看次数: |
5202 次 |
| 最近记录: |