matplotlib 错误命令'msbuild'失败:安装BaseMap for Windows 10 64位时无

zyfwsgd6  于 2023-10-24  发布在  Windows
关注(0)|答案(1)|浏览(565)

我是matplotlib的新手,我想在我的windows 64位笔记本电脑上安装底图。我使用python 3.11.5,我刚刚成功地:
1.安装pyproj-3.3.1-cp 311-cp 311-win_amd64.whl

  1. osgeo4w
    1.在Visual Studio生成工具中,我安装了Desktop Development with C++,然后添加了各个组件:a. Windows 10 SDK和MSVC v.143
    然后,当我安装底图-1.3.3-cp 311-cp 311-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

运行setup.py clean for matplotlib无法构建matplotlib错误:无法为matplotlib构建wheels,这是安装pyproject所必需的。

iqih9akk

iqih9akk1#

pip install basemap

从底图1.3.0开始,我们可以使用pip安装底图预编译轮

相关问题