报错:
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\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 pandas
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
整了一上午才发现只需要:笑死
**pip install d2l==0.17.0**
前提是安装好对应python版本合适的pandas
pandas版本安装网址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#_pandas
如果还有报错建议安装vc++的基本编译器,总共也就不到10g
no model named 'd2l.xxx’是因为低于d2l==0.17.0版本的有很多函数并没有被写入