为 Windows 10 64 位安装 BaseMap 时出现错误命令“msbuild”失败:无

问题描述 投票:0回答:1

我是 matplotlib 的新手,我想在我的 Windows 64 位笔记本电脑中安装底图。 我使用 python 3.11.5 并且刚刚成功:

  1. 安装 pyproj-3.3.1-cp311-cp311-win_amd64.whl
  2. osgeo4w
  3. 在 Visual Studio 构建工具中,我使用 C++ 安装桌面开发,然后添加单个组件: Windows 10 SDK 和 MSVC v.143

然后当我安装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

你能帮我吗? 为 matplotlib 运行 setup.py clean 构建 matplotlib 失败 错误:无法为 matplotlib 构建轮子,这是安装基于 pyproject.toml 的项目所必需的

matplotlib matplotlib-basemap
1个回答
0
投票
pip install basemap

从底图13.0开始我们可以使用pip安装底图

© www.soinside.com 2019 - 2024. All rights reserved.