learn2learn icon indicating copy to clipboard operation
learn2learn copied to clipboard

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

Open FengYu-1997 opened this issue 2 years ago • 5 comments

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 **

FengYu-1997 avatar Sep 21 '23 13:09 FengYu-1997

Can you try updating Cython to the latest version?

nightlessbaron avatar Sep 21 '23 14:09 nightlessbaron

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

FengYu-1997 avatar Sep 21 '23 14:09 FengYu-1997

This is work: https://blog.csdn.net/love906897406/article/details/125355524

diyicheng avatar Apr 14 '24 15:04 diyicheng