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

Installation: ERROR: Could not build wheels for learn2learn, which is required to install pyproject.toml-based projects #417

Open
FengYu-1997 opened this issue Sep 21, 2023 · 3 comments

Comments

@FengYu-1997
Copy link

FengYu-1997 commented Sep 21, 2023

error during installation:
_Building wheel for learn2learn (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for learn2learn (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [153 lines of output]

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 learn2learn
Failed to build learn2learn
ERROR: Could not build wheels for learn2learn, which is required to install pyproject.toml-based projects_

**I tried conda install but it didn't find the package
**

@nightlessbaron
Copy link
Contributor

Can you try updating Cython to the latest version?

@FengYu-1997
Copy link
Author

FengYu-1997 commented Sep 21, 2023

problem solved. It needs to install VisualCppBuildTools_Full.exe
https://zhuanlan.zhihu.com/p/471661231

@diyicheng
Copy link

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

3 participants