learnables / learn2learn

A PyTorch Library for Meta-learning Research
http://learn2learn.net
MIT License
2.63k stars 351 forks source link

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

Open FengYu-1997 opened 1 year ago

FengYu-1997 commented 1 year ago

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 commented 1 year ago

Can you try updating Cython to the latest version?

FengYu-1997 commented 1 year ago

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

diyicheng commented 5 months ago

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