安装 D2l 报错 全网最新解决方式
报错
\moments
copying pandas\tests\window\moments\test_moments_rolling_apply.py -> build\lib.win-amd64-cpython-310\pandas\tests\window\moments
copying pandas\tests\window\moments\test_moments_rolling_functions.py -> build\lib.win-amd64-cpython-310\pandas\tests\window\moments
copying pandas\tests\window\moments\test_moments_rolling_quantile.py -> build\lib.win-amd64-cpython-310\pandas\tests\window\moments
copying pandas\tests\window\moments\test_moments_rolling_skew_kurt.py -> build\lib.win-amd64-cpython-310\pandas\tests\window\moments
copying pandas\tests\window\moments\__init__.py -> build\lib.win-amd64-cpython-310\pandas\tests\window\moments
creating build\lib.win-amd64-cpython-310\pandas\_libs\tslibs
copying pandas\_libs\tslibs\__init__.py -> build\lib.win-amd64-cpython-310\pandas\_libs\tslibs
creating build\lib.win-amd64-cpython-310\pandas\_libs\window
copying pandas\_libs\window\__init__.py -> build\lib.win-amd64-cpython-310\pandas\_libs\window
creating build\lib.win-amd64-cpython-310\pandas\io\formats\templates
copying pandas\io\formats\templates\html.tpl -> build\lib.win-amd64-cpython-310\pandas\io\formats\templates
UPDATING build\lib.win-amd64-cpython-310\pandas/_version.py
set build\lib.win-amd64-cpython-310\pandas/_version.py to '1.2.4'
running build_ext
building 'pandas._libs.algos' 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 pandas
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
安装C++ 2015
d2l 最新版本是 d2l-zh/d2l at master · d2l-ai/d2l-zh · GitHub
0.17.5
安装命令
pip install d2l==0.17.5
将版本降低为3.9.5
感谢您的阅读,如果您觉得阅读本文对您有帮助,请点一下“推荐”按钮。本文欢迎各位转载,但是转载文章之后必须在文章页面中给出作者和原文连接。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
2019-04-14 《C程序设计II》简易计算器,杨辉,数字杯子图形