You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 64位环境安装Matplotlib Basemap时msbuild命令失败问题求助

Windows 64位环境安装Matplotlib Basemap时msbuild命令失败问题求助

各位好,我是Matplotlib的新手,最近想在自己的Windows 64位笔记本上安装Basemap,目前我的环境是Python 3.11.5,已经成功完成了以下几项操作:

  • 安装了 pyproj-3.3.1-cp311-cp311-win_amd64.whl
  • 安装了osgeo4w
  • 在Visual Studio Build Tools中安装了「Desktop development with C++」工作负载,还额外添加了两个独立组件:
    • Windows 10 SDK
    • MSVC v143

不过当我尝试安装 basemap-1.3.3-cp311-cp311-win_amd64.whl 时,遇到了报错,具体错误信息如下:

error: command 'msbuild' failed: None
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for matplotlib
Running setup.py clean for matplotlib
Failed to build matplotlib
ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects

有没有大佬能帮忙看看怎么解决这个问题呀?

备注:内容来源于stack exchange,提问作者doughstone

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 11:23:10