Skip to content
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

Could not build wheels for pycld2, which is required to install pyproject.toml-based projects #60

Open
ShadowRaven256 opened this issue Apr 16, 2024 · 2 comments

Comments

@ShadowRaven256
Copy link

While trying to download multi-rake which is dependent on pycld2, it fails to build wheels for pycld2. My python version is 3.10.4.

@ShadowRaven256
Copy link
Author

Building wheels for collected packages: pycld2
Building wheel for pycld2 (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\pycld2
copying pycld2_init_.py -> build\lib.win-amd64-cpython-310\pycld2
running build_ext
building 'pycld2._pycld2' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycld2
Running setup.py clean for pycld2

These are the errors I am getting

@renpengli01
Copy link

windows 非python3.10的需下载安装 Microsoft C++ Build Tools,下载链接https://visualstudio.microsoft.com/visual-cpp-build-tools/,安装之后即可实现pycld2及所有依赖 C++ Build Tools的包的安装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants